- Avoids reloading chat messages table view without reloading data first

- Removes redundant chat message reloading in configureForRoom
This commit is contained in:
Christophe Deschamps 2022-05-23 09:51:24 +02:00
parent e10cb36cad
commit 756bd123ea

View file

@ -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);