mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 21:28:08 +00:00
Changing magic search sort function
This commit is contained in:
parent
f2cbcee34f
commit
52861017e2
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ list<SearchResult> MagicSearch::getContactListFromFilter(const string &filter, c
|
|||
}
|
||||
|
||||
resultList->sort([](const SearchResult& lsr, const SearchResult& rsr){
|
||||
return lsr >= rsr;
|
||||
return (!rsr.getFriend() && lsr.getFriend()) || lsr >= rsr;
|
||||
});
|
||||
|
||||
proxy = linphone_core_get_default_proxy_config(this->getCore()->getCCore());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue