aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/ConversationFragment.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-09-27 18:16:31 +0200
committeriNPUTmice <daniel@gultsch.de>2014-09-27 18:16:31 +0200
commit1ae9338fc9d5f8e1f6505445f07f4476efd8f139 (patch)
treeab69023e8b39ece36334072ebc9f82e520fddd67 /src/eu/siacs/conversations/ui/ConversationFragment.java
parent4a9ed0e208f716d41e5bd4fb525a64661c0de8f8 (diff)
made muc passwords and prefereced encryption method persistant across restarts
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/ui/ConversationFragment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java
index 9e2d39e5..a8dee4f7 100644
--- a/src/eu/siacs/conversations/ui/ConversationFragment.java
+++ b/src/eu/siacs/conversations/ui/ConversationFragment.java
@@ -668,6 +668,7 @@ public class ConversationFragment extends Fragment {
int which) {
conversation
.setNextEncryption(Message.ENCRYPTION_NONE);
+ xmppService.databaseBackend.updateConversation(conversation);
message.setEncryption(Message.ENCRYPTION_NONE);
xmppService.sendMessage(message);
messageSent();
@@ -696,6 +697,7 @@ public class ConversationFragment extends Fragment {
conversation
.setNextEncryption(Message.ENCRYPTION_NONE);
message.setEncryption(Message.ENCRYPTION_NONE);
+ xmppService.databaseBackend.updateConversation(conversation);
xmppService.sendMessage(message);
messageSent();
}