aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-11-29 22:01:24 +0100
committerChristian Schneppe <christian@pix-art.de>2017-11-29 22:01:24 +0100
commita077d57c743e1571dd045befb721b72fc3b72f92 (patch)
tree235c1c3044b5fb77f07424e3ddb9e263ab7ff987
parentb6052c82cb8463ee465226949953a7187f4096e4 (diff)
make encryption settings persistent via snackbar choice
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
index 4872dc841..65f1eef9b 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
@@ -318,6 +318,7 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
public void onClick(View v) {
if (Config.supportOmemo() && conversation.getAccount().getAxolotlService().isConversationAxolotlCapable(conversation)) {
conversation.setNextEncryption(Message.ENCRYPTION_AXOLOTL);
+ activity.xmppConnectionService.updateConversation(conversation);
activity.refreshUi();
}
hideSnackbar();