From 2dba8c1d90163cdee265a974235d15d3a958c16f Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Thu, 21 Feb 2019 20:41:03 +0100 Subject: be sure that default omemo encryption is set off --- src/main/java/de/pixart/messenger/crypto/OmemoSetting.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/de/pixart') diff --git a/src/main/java/de/pixart/messenger/crypto/OmemoSetting.java b/src/main/java/de/pixart/messenger/crypto/OmemoSetting.java index 2c9717da6..19fd6f9c0 100644 --- a/src/main/java/de/pixart/messenger/crypto/OmemoSetting.java +++ b/src/main/java/de/pixart/messenger/crypto/OmemoSetting.java @@ -56,13 +56,13 @@ public class OmemoSetting { always = true; encryption = Message.ENCRYPTION_AXOLOTL; break; - case "default_off": + case "default_on": always = false; - encryption = Message.ENCRYPTION_NONE; + encryption = Message.ENCRYPTION_AXOLOTL; break; default: always = false; - encryption = Message.ENCRYPTION_AXOLOTL; + encryption = Message.ENCRYPTION_NONE; break; } -- cgit v1.2.3