diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2018-11-22 14:31:06 +0300 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2018-11-22 14:31:06 +0300 |
commit | f63a209881c036c384c2c0bc1d3b33edb6d7554f (patch) | |
tree | 81fd4d1011fc46b6a60a8b42da1a4fcc144f6b2e /src | |
parent | 66850a525a80956db0095dcb7cd87bae8cb40a6b (diff) |
cancel magic mode attribute after changing password once
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java index 66877d591..87fc8036f 100644 --- a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java @@ -225,7 +225,7 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat return; } 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.setJid(jid); |