diff --git a/Classes/ChatConversationTableView.m b/Classes/ChatConversationTableView.m index 3818fe818..84f859825 100644 --- a/Classes/ChatConversationTableView.m +++ b/Classes/ChatConversationTableView.m @@ -216,7 +216,7 @@ if (editingStyle == UITableViewCellEditingStyleDelete) { [tableView beginUpdates]; LinphoneEventLog *event = bctbx_list_nth_data(eventList, (int)[indexPath row]); - //linphone_chat_room_delete_message(_chatRoom, chat); + linphone_event_log_delete_from_database(event); eventList = bctbx_list_remove(eventList, event); [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] @@ -228,7 +228,7 @@ - (void)removeSelectionUsing:(void (^)(NSIndexPath *))remover { [super removeSelectionUsing:^(NSIndexPath *indexPath) { LinphoneEventLog *event = bctbx_list_nth_data(eventList, (int)[indexPath row]); - //linphone_chat_room_delete_message(_chatRoom, chat); + linphone_event_log_delete_from_database(event); eventList = bctbx_list_remove(eventList, event); }]; } diff --git a/submodules/linphone b/submodules/linphone index 91a64a746..cea7ca8bb 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 91a64a746292af23ed74a99ec76cb0c255ff34fa +Subproject commit cea7ca8bb14a2cf087e6417f5ab49aa45eb04a66