diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-11-20 17:33:13 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-11-20 17:33:13 +0100 |
commit | 2d0c8f50a93a348a110e7e967ec9b6f8b4563ab2 (patch) | |
tree | 1b625c0684af19eb638218ea79836fe106d4b240 /src/main/java/de/pixart/messenger | |
parent | 7d72a6bcf10f3c52af1f9a453225e04d7e209350 (diff) |
don't use xmpp uri for self verification if account is disabled
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/StartConversationActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java b/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java index fa4f58ebd..547111441 100644 --- a/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java +++ b/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java @@ -844,7 +844,7 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU private boolean handleJid(Invite invite) { Account account = xmppConnectionService.findAccountByJid(invite.getJid()); - if (account != null && invite.hasFingerprints()) { + if (account != null && !account.isOptionSet(Account.OPTION_DISABLED) && invite.hasFingerprints()) { if (xmppConnectionService.verifyFingerprints(account, invite.getFingerprints())) { switchToAccount(account); finish(); |