mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
only updta presence cell is displayed
This commit is contained in:
parent
d7d3c509b8
commit
b5c044bea8
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@
|
|||
- (void)onPresenceChanged:(NSNotification *)k {
|
||||
LinphoneFriend *f = [[k.userInfo valueForKey:@"friend"] pointerValue];
|
||||
// only consider event if it's about us
|
||||
if (_contact && (_nameLabel.text == PhoneMainView.instance.currentName || !PhoneMainView.instance.currentName)) {
|
||||
if (_contact && _nameLabel.text == PhoneMainView.instance.currentName) {
|
||||
if (!_contact.friend || f != _contact.friend) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue