mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix presence
This commit is contained in:
parent
46c4337bc3
commit
fe8edab650
1 changed files with 2 additions and 2 deletions
|
|
@ -63,8 +63,8 @@
|
|||
|
||||
- (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) {
|
||||
// only consider event if it's about us when not in ContactsListView
|
||||
if (_contact && (PhoneMainView.instance.currentView == ContactsListView.compositeViewDescription || _nameLabel.text == PhoneMainView.instance.currentName)) {
|
||||
if (!_contact.friend || f != _contact.friend) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue