don't reset whisper on reInit. fixes #1637

This commit is contained in:
Daniel Gultsch 2016-02-19 20:54:43 +01:00
parent ad60bc002c
commit df992d2566
1 changed files with 0 additions and 3 deletions

View File

@ -738,9 +738,6 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
this.keychainUnlock = KEYCHAIN_UNLOCK_NOT_REQUIRED; this.keychainUnlock = KEYCHAIN_UNLOCK_NOT_REQUIRED;
this.conversation = conversation; this.conversation = conversation;
if (this.conversation.getMode() == Conversation.MODE_MULTI) {
this.conversation.setNextCounterpart(null);
}
boolean canWrite = this.conversation.getMode() == Conversation.MODE_SINGLE || this.conversation.getMucOptions().participating(); boolean canWrite = this.conversation.getMode() == Conversation.MODE_SINGLE || this.conversation.getMucOptions().participating();
this.mEditMessage.setEnabled(canWrite); this.mEditMessage.setEnabled(canWrite);
this.mSendButton.setEnabled(canWrite); this.mSendButton.setEnabled(canWrite);