From f63a209881c036c384c2c0bc1d3b33edb6d7554f Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 22 Nov 2018 12:31:06 +0100 Subject: [PATCH] cancel magic mode attribute after changing password once --- .../java/eu/siacs/conversations/ui/EditAccountActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);