cancel magic mode attribute after changing password once
This commit is contained in:
parent
66850a525a
commit
f63a209881
|
@ -225,7 +225,7 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (mAccount != null) {
|
if (mAccount != null) {
|
||||||
if (mInitMode && mAccount.isOptionSet(Account.OPTION_MAGIC_CREATE)) {
|
if (mAccount.isOptionSet(Account.OPTION_MAGIC_CREATE)) {
|
||||||
mAccount.setOption(Account.OPTION_MAGIC_CREATE, mAccount.getPassword().contains(password));
|
mAccount.setOption(Account.OPTION_MAGIC_CREATE, mAccount.getPassword().contains(password));
|
||||||
}
|
}
|
||||||
mAccount.setJid(jid);
|
mAccount.setJid(jid);
|
||||||
|
|
Loading…
Reference in New Issue