diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-11-23 15:00:42 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-11-23 15:00:42 +0100 |
commit | b84275d10791c10c6a986c87eae164b9f2e0c1b9 (patch) | |
tree | ebf91418a7891d7968a4028726ee813cc622dce1 /src/main/java/de | |
parent | 231a0b59a59c688016d8bd6847768a5d55d3282a (diff) |
cancel magic mode attribute after changing password once
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/EditAccountActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java index 59b3ae4c7..92962fb45 100644 --- a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java +++ b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java @@ -203,7 +203,7 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat } } 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); |