aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-02-21 20:41:03 +0100
committerChristian Schneppe <christian@pix-art.de>2019-02-21 20:41:03 +0100
commit2dba8c1d90163cdee265a974235d15d3a958c16f (patch)
treed20278221a0b54d3dc2b6daf9c86b9747aeb0cbf /src
parent24a9c319aed4089eb97bedb249cd6ddbff13d398 (diff)
be sure that default omemo encryption is set off
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/pixart/messenger/crypto/OmemoSetting.java6
1 files changed, 3 insertions, 3 deletions
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;
}