aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2015-07-20 23:16:06 +0200
committerAndreas Straub <andy@strb.org>2015-07-20 23:16:06 +0200
commit971aa3a11e1077a38746cb45e7177851725be47e (patch)
treeccc8f02aebf78b32b27a2b15d81ec159e1fcc997 /src/main
parentd2845e9ac1040a269401ef9d59e27bac9e7b7d5a (diff)
Also decrypt messages from UNTRUSTED sessions
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
index 882ead3c..b0724593 100644
--- a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
+++ b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
@@ -524,6 +524,7 @@ public class AxolotlService {
byte[] plaintext = null;
switch (getTrust()) {
case UNDECIDED:
+ case UNTRUSTED:
case TRUSTED:
try {
try {
@@ -553,7 +554,6 @@ public class AxolotlService {
break;
case COMPROMISED:
- case UNTRUSTED:
default:
// ignore
break;