fix search bar

This commit is contained in:
Danmei Chen 2019-04-15 13:45:49 +02:00
parent 00fb35f7eb
commit a44edf189c

View file

@ -88,7 +88,7 @@
contact = [LinphoneManager.instance.fastAddressBook.addressBookMap objectForKey:[FastAddressBook normalizeSipURI:address]];
}
if (!addr || !contact) {
if (!addr || (!contact && linphone_search_result_get_friend(result))) {
phoneNumber = linphone_search_result_get_phone_number(result);
if (!phoneNumber) {
results = results->next;