mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 06:38:08 +00:00
Fix MagicSearch to search even in no sip contact
This commit is contained in:
parent
65317c1f56
commit
6ce1c755d9
1 changed files with 3 additions and 1 deletions
|
|
@ -237,7 +237,9 @@ SearchResult MagicSearch::searchInFriend(const LinphoneFriend *lFriend, const st
|
|||
unsigned int weight = getMinWeight();
|
||||
const LinphoneAddress* lAddress = linphone_friend_get_address(lFriend);
|
||||
|
||||
if (!checkDomain(lFriend, lAddress, withDomain)) return SearchResult(weight, nullptr);
|
||||
if (!checkDomain(lFriend, lAddress, withDomain)) {
|
||||
if (!withDomain.empty()) return SearchResult(weight, nullptr);
|
||||
}
|
||||
|
||||
// NAME
|
||||
if (linphone_core_vcard_supported()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue