[chat] fix scroll to last unread

This commit is contained in:
Brieuc Viel 2017-04-14 15:55:08 +02:00 committed by Benjamin Reis
parent d484c01845
commit 894725c59b
2 changed files with 2 additions and 1 deletions

View file

@ -364,6 +364,7 @@ static UICompositeViewDescription *compositeDescription = nil;
}
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneMessageReceived object:self];
[_tableController addChatEntry:chat];
[self setComposingVisible:FALSE withDelay:0];
[_tableController scrollToLastUnread:TRUE];
}
}

View file

@ -53,7 +53,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<string>3</string>
<key>ITSAppUsesNonExemptEncryption</key>
<true/>
<key>ITSEncryptionExportComplianceCode</key>