Improve contact search in chat fragment
This commit is contained in:
parent
3491ff723f
commit
cff1f90fd3
1 changed files with 3 additions and 0 deletions
|
@ -217,6 +217,9 @@ public class ChatEventsAdapter extends ListSelectionAdapter implements ChatMessa
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (contact == null) {
|
||||||
|
contact = ContactsManager.getInstance().findContactFromAddress(remoteSender);
|
||||||
|
}
|
||||||
if (contact != null) {
|
if (contact != null) {
|
||||||
if (contact.getFullName() != null) {
|
if (contact.getFullName() != null) {
|
||||||
displayName = contact.getFullName();
|
displayName = contact.getFullName();
|
||||||
|
|
Loading…
Reference in a new issue