submodules: update belle-sip and linphone to fix file transfer upload error when running in background mode

This commit is contained in:
Gautier Pelloux-Prayer 2015-10-07 14:37:55 +02:00
parent 4ced6b6e65
commit 5414821492
3 changed files with 7 additions and 4 deletions

View file

@ -82,10 +82,13 @@ static int sorted_history_comparison(LinphoneChatRoom *to_insert, LinphoneChatRo
// store last message in user data
LinphoneChatRoom *chat_room = iter->data;
MSList *history = linphone_chat_room_get_history(iter->data, 1);
LinphoneChatMessage *last_msg = history ? history->data : NULL;
LinphoneChatMessage *last_msg = NULL;
if (history) {
last_msg = linphone_chat_message_ref(history->data);
ms_list_free(history);
}
linphone_chat_room_set_user_data(chat_room, last_msg);
sorted = ms_list_insert_sorted(sorted, chat_room, (MSCompareFunc)sorted_history_comparison);
iter = iter->next;
}
return sorted;

@ -1 +1 @@
Subproject commit fac134fc059a47d9d1279b8d27cc8374457afe0c
Subproject commit 0efd4dfd5b37fb28ba1ecbabcc8d37defddfd517

@ -1 +1 @@
Subproject commit fe9b63d2e86193e7919dc5409e59eb5ffa2c0c17
Subproject commit c4cb4d2767b126bf45cb404a83ac1b29b99a8726