mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-15 13:35:04 -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) {
|
private boolean handleJid(Invite invite) {
|
||||||
Account account = xmppConnectionService.findAccountByJid(invite.getJid());
|
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())) {
|
if (xmppConnectionService.verifyFingerprints(account,invite.getFingerprints())) {
|
||||||
switchToAccount(account);
|
switchToAccount(account);
|
||||||
finish();
|
finish();
|
||||||
|
Loading…
Reference in New Issue
Block a user