mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Fix wrong warning being output when a friend is offline.
This commit is contained in:
parent
2123fcf383
commit
d9684b0c3b
1 changed files with 4 additions and 2 deletions
|
|
@ -355,9 +355,11 @@ LinphoneOnlineStatus linphone_friend_get_status(const LinphoneFriend *lf){
|
|||
/* Rely on the basic status information. */
|
||||
break;
|
||||
case LinphonePresenceActivityOnline:
|
||||
case LinphonePresenceActivityOffline:
|
||||
/* Should not happen! */
|
||||
ms_warning("LinphonePresenceActivityOnline or LinphonePresenceActivityOffline should not happen here!");
|
||||
ms_warning("LinphonePresenceActivityOnline should not happen here!");
|
||||
break;
|
||||
case LinphonePresenceActivityOffline:
|
||||
online_status = LinphoneStatusOffline;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue