forked from mirrors/linphone-iphone
fix to not empty twice a chat room callbacks
This commit is contained in:
parent
65ab73efb6
commit
aee7262ebb
1 changed files with 1 additions and 0 deletions
|
|
@ -187,6 +187,7 @@ void deletion_chat_room_state_changed(LinphoneChatRoom *cr, LinphoneChatRoomStat
|
|||
LinphoneChatRoomCbs *cbs = linphone_chat_room_get_callbacks(cr);
|
||||
linphone_chat_room_cbs_set_state_changed(cbs, NULL);
|
||||
linphone_chat_room_cbs_set_user_data(cbs, NULL);
|
||||
view.chatRooms = bctbx_list_remove(view.chatRooms, cr);
|
||||
view.nbOfChatRoomToDelete--;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue