Don't destroy chatrooms, they should be kept in-memory to handle message updates

This commit is contained in:
Guillaume BIENKOWSKI 2014-03-07 15:05:16 +01:00
parent 11f5400fa9
commit f6de70b5af

View file

@ -198,11 +198,8 @@ static UICompositeViewDescription *compositeDescription = nil;
}
[messageField resignFirstResponder];
if(chatRoom != NULL) {
linphone_chat_room_destroy(chatRoom);
chatRoom = NULL;
}
chatRoom = NULL;
[self setComposingVisible:FALSE withDelay:0]; // will hide the "user is composing.." message