fixed regression that would not show clear devices

This commit is contained in:
Daniel Gultsch 2016-06-02 20:46:01 +02:00
parent 25211f13b3
commit 594aab56db
1 changed files with 1 additions and 1 deletions

View File

@ -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());