From 8af2025ba5ae5352bc838e19c37dfb2c0c324b4b Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Fri, 21 Nov 2014 16:31:18 +0100 Subject: [PATCH] Fix chat discrepancies with the "is composing" indicator --- Classes/ChatRoomViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/ChatRoomViewController.m b/Classes/ChatRoomViewController.m index 5e2b7ec84..d1251a601 100644 --- a/Classes/ChatRoomViewController.m +++ b/Classes/ChatRoomViewController.m @@ -403,13 +403,13 @@ static void message_status(LinphoneChatMessage* msg,LinphoneChatMessageState sta newTableFrame.size.height += newComposingFrame.size.height; newComposingFrame.origin.y = keyboardFrame.origin.y; } + composingVisible = visible; [UIView animateWithDuration:delay animations:^{ self.tableController.tableView.frame = newTableFrame; self.composeIndicatorView.frame = newComposingFrame; } completion:^(BOOL finished) { - composingVisible = visible; [self.tableController scrollToBottom:TRUE]; }]; }