Fix the contact of phone number in history

This commit is contained in:
Erwan Croze 2017-11-16 14:22:00 +01:00
parent dc9f7cc26f
commit 51bc43cf57

View file

@ -468,6 +468,7 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On
}
LinphoneContact c = ContactsManager.getInstance().findContactFromAddress(address);
if (c == null) c = ContactsManager.getInstance().findContactFromPhoneNumber(address.getUserName());
String displayName = null;
final String sipUri = address.asString();
if (c != null) {