Also decrypt messages from UNTRUSTED sessions

This commit is contained in:
Andreas Straub 2015-07-20 23:16:06 +02:00
parent d2845e9ac1
commit 971aa3a11e

View file

@ -524,6 +524,7 @@ public class AxolotlService {
byte[] plaintext = null; byte[] plaintext = null;
switch (getTrust()) { switch (getTrust()) {
case UNDECIDED: case UNDECIDED:
case UNTRUSTED:
case TRUSTED: case TRUSTED:
try { try {
try { try {
@ -553,7 +554,6 @@ public class AxolotlService {
break; break;
case COMPROMISED: case COMPROMISED:
case UNTRUSTED:
default: default:
// ignore // ignore
break; break;