don't reinit conversation when coming back to activity. avoids unnecessary scrolling

This commit is contained in:
Daniel Gultsch 2015-05-12 03:56:13 +02:00
parent ceadf2f6fb
commit fe5c4cab46

View file

@ -927,9 +927,7 @@ public class ConversationActivity extends XmppActivity
}
this.mConversationFragment.reInit(getSelectedConversation());
mOpenConverstaion = null;
} else if (getSelectedConversation() != null) {
this.mConversationFragment.reInit(getSelectedConversation());
} else {
} else if (getSelectedConversation() == null) {
showConversationsOverview();
mPendingImageUris.clear();
mPendingFileUris.clear();