mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
set composig visible when _chatRoom is resolved
This commit is contained in:
parent
59098c6db0
commit
8a47583130
1 changed files with 3 additions and 1 deletions
|
|
@ -329,7 +329,6 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
return;
|
||||
}
|
||||
composingVisible = !composingVisible;
|
||||
[self setComposingVisible:!composingVisible withDelay:0];
|
||||
|
||||
// force offset recomputing
|
||||
[_messageField refreshHeight];
|
||||
|
|
@ -338,7 +337,10 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
_chatRoom = linphone_core_get_chat_room([LinphoneManager getLc], peerAddr);
|
||||
isOneToOne = linphone_chat_room_get_capabilities(_chatRoom) & LinphoneChatRoomCapabilitiesOneToOne;
|
||||
isEncrypted = linphone_chat_room_get_capabilities(_chatRoom) & LinphoneChatRoomCapabilitiesEncrypted;
|
||||
if (_chatRoom)
|
||||
[self setComposingVisible:!composingVisible withDelay:0];
|
||||
}
|
||||
|
||||
[self configureForRoom:true];
|
||||
_backButton.hidden = _tableController.isEditing;
|
||||
[_tableController scrollToBottom:true];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue