aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/crypto
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/java/eu/siacs/conversations/crypto
parentd2845e9ac1040a269401ef9d59e27bac9e7b7d5a (diff)
Also decrypt messages from UNTRUSTED sessions
Diffstat (limited to 'src/main/java/eu/siacs/conversations/crypto')
-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 882ead3c1..b07245936 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;