mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-25 08:58:55 -05:00
don't use xmpp uri for self verification if account is disabled
This commit is contained in:
parent
6362799d56
commit
cb639f3fdd
@ -845,7 +845,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();
|
||||
|
Loading…
Reference in New Issue
Block a user