From ef744eb068bca48faf96f66ac3bf560664ed3b2b Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Mon, 16 Aug 2021 16:45:47 +0200 Subject: [PATCH] 0009252: ios Build 7 - Non prise en compte de la suppression des notifications dans un groupe de discussion --- Classes/ChatConversationTableView.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/ChatConversationTableView.m b/Classes/ChatConversationTableView.m index 5673c0766..026115094 100644 --- a/Classes/ChatConversationTableView.m +++ b/Classes/ChatConversationTableView.m @@ -393,6 +393,8 @@ static const CGFloat MESSAGE_SPACING_PERCENTAGE = 1.f; LinphoneEventLog *event = [[eventList objectAtIndex:indexPath.row] pointerValue]; if (linphone_event_log_get_chat_message(event)) { linphone_chat_room_delete_message(_chatRoom, linphone_event_log_get_chat_message(event)); + } else { + linphone_event_log_delete_from_database(event); } NSInteger index = indexPath.row + _currentIndex + (totalEventList.count - eventList.count); if (index < totalEventList.count)