[Contact filter] fix contact sip filter

This commit is contained in:
Brieuc Viel 2017-12-01 11:17:05 +01:00
parent c1fe7e39ef
commit f8a8a224c1

View file

@ -157,7 +157,8 @@ static int ms_strcmpfuz(const char *fuzzy_word, const char *sentence) {
if ([ContactSelection getSipFilter] ||
[ContactSelection emailFilterEnabled]) {
add = false;
}else if ([FastAddressBook contactHasValidSipDomain:contact]) {
}
if ([FastAddressBook contactHasValidSipDomain:contact]) {
add = true;
}else if (contact.friend &&
linphone_presence_model_get_basic_status(