diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-06-02 20:46:01 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-06-02 20:46:01 +0200 |
commit | 594aab56dbffab5eec5d922f30cec3262752ceb4 (patch) | |
tree | 8d012d6dc357137fe8f6bdb368717e8212ea1aaf | |
parent | 25211f13b37ecef64d6fa9a382a2c30d212452ae (diff) |
fixed regression that would not show clear devices
-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 dbd820b2..c6251c22 100644 --- a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java @@ -523,7 +523,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate } mamPrefs.setVisible(mAccount.getXmppConnection().getFeatures().mam()); Set<Integer> otherDevices = mAccount.getAxolotlService().getOwnDeviceIds(); - if (otherDevices == null || otherDevices.isEmpty() || Config.supportOmemo()) { + if (otherDevices == null || otherDevices.isEmpty() || !Config.supportOmemo()) { clearDevices.setVisible(false); } changePresence.setVisible(manuallyChangePresence()); |