Commit 1cbc8cee authored by jehan's avatar jehan

add more offer/answer tests to also check video call

parent 2130afe5
......@@ -305,7 +305,10 @@ void linphone_friend_list_set_rls_uri(LinphoneFriendList *list, const char *rls_
LinphoneFriendListStatus linphone_friend_list_add_friend(LinphoneFriendList *list, LinphoneFriend *friend) {
if (friend->uri == NULL || friend->in_list) {
ms_error("linphone_friend_list_add_friend(): invalid friend");
if (!friend->uri)
ms_error("linphone_friend_list_add_friend(): invalid friend, no sip uri");
if (friend->in_list)
ms_error("linphone_friend_list_add_friend(): invalid friend, already in list");
return LinphoneFriendListInvalidFriend;
}
if (ms_list_find(list->friends, friend) != NULL) {
......
This diff is collapsed.
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