Fix the contact of phone number in history
This commit is contained in:
parent
dc9f7cc26f
commit
51bc43cf57
1 changed files with 1 additions and 0 deletions
|
@ -468,6 +468,7 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On
|
||||||
}
|
}
|
||||||
|
|
||||||
LinphoneContact c = ContactsManager.getInstance().findContactFromAddress(address);
|
LinphoneContact c = ContactsManager.getInstance().findContactFromAddress(address);
|
||||||
|
if (c == null) c = ContactsManager.getInstance().findContactFromPhoneNumber(address.getUserName());
|
||||||
String displayName = null;
|
String displayName = null;
|
||||||
final String sipUri = address.asString();
|
final String sipUri = address.asString();
|
||||||
if (c != null) {
|
if (c != null) {
|
||||||
|
|
Loading…
Reference in a new issue