Commit d9684b0c authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix wrong warning being output when a friend is offline.

parent 2123fcf3
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment