Fix chat room views positioning when come back from background

This commit is contained in:
Yann Diorcet 2012-09-10 14:41:17 +02:00
parent 223e44c862
commit 2ecaf9c58e

View file

@ -124,6 +124,9 @@ static UICompositeViewDescription *compositeDescription = nil;
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
[messageField resignFirstResponder];
if(chatRoom != NULL) {
linphone_chat_room_destroy(chatRoom);
chatRoom = NULL;