From 756bd123ea841cfe54f7a27a10f01ced6906cc02 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Mon, 23 May 2022 09:51:24 +0200 Subject: [PATCH] - Avoids reloading chat messages table view without reloading data first - Removes redundant chat message reloading in configureForRoom --- Classes/ChatConversationView.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Classes/ChatConversationView.m b/Classes/ChatConversationView.m index 5830f5683..583c2d18c 100644 --- a/Classes/ChatConversationView.m +++ b/Classes/ChatConversationView.m @@ -384,7 +384,9 @@ static UICompositeViewDescription *compositeDescription = nil; BOOL fileSharingEnabled = linphone_core_get_file_transfer_server(LC) != NULL; [_pictureButton setEnabled:fileSharingEnabled]; - [self callUpdateEvent:nil]; + [self updateSuperposedButtons]; + _toggleRecord.enabled = linphone_core_get_calls_nb(LC) == 0; + PhoneMainView.instance.currentRoom = _chatRoom; if (isOneToOne) { bctbx_list_t *participants = linphone_chat_room_get_participants(_chatRoom);