forked from mirrors/linphone-iphone
Show linphoneImage when adding a sip contact in Iphone address book
This commit is contained in:
parent
4f95673254
commit
ffdca1eede
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@
|
|||
_contact = acontact;
|
||||
if(_contact) {
|
||||
[ContactDisplay setDisplayNameLabel:_nameLabel forContact:_contact];
|
||||
_linphoneImage.hidden = ! (_contact.friend && linphone_presence_model_get_basic_status(linphone_friend_get_presence_model(_contact.friend)) == LinphonePresenceBasicStatusOpen);
|
||||
_linphoneImage.hidden = ! ((_contact.friend && linphone_presence_model_get_basic_status(linphone_friend_get_presence_model(_contact.friend)) == LinphonePresenceBasicStatusOpen) || [FastAddressBook contactHasValidSipDomain:_contact]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue