Fix NPE
(cherry picked from commit b8907789427301d681f5b264008a34b04f06eb89)
This commit is contained in:
parent
76624a4a25
commit
bd5cd5755b
1 changed files with 1 additions and 0 deletions
|
@ -1189,6 +1189,7 @@ public class ConversationFragment extends XmppFragment
|
|||
|
||||
protected boolean trustKeysIfNeeded(int requestCode) {
|
||||
AxolotlService axolotlService = conversation.getAccount().getAxolotlService();
|
||||
if (axolotlService == null) return false;
|
||||
final List<Jid> targets = axolotlService.getCryptoTargets(conversation);
|
||||
boolean hasUnaccepted = !conversation.getAcceptedCryptoTargets().containsAll(targets);
|
||||
boolean hasUndecidedOwn =
|
||||
|
|
Loading…
Reference in a new issue