fixed regression that would not show clear devices
This commit is contained in:
parent
25211f13b3
commit
594aab56db
|
@ -523,7 +523,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
|
||||||
}
|
}
|
||||||
mamPrefs.setVisible(mAccount.getXmppConnection().getFeatures().mam());
|
mamPrefs.setVisible(mAccount.getXmppConnection().getFeatures().mam());
|
||||||
Set<Integer> otherDevices = mAccount.getAxolotlService().getOwnDeviceIds();
|
Set<Integer> otherDevices = mAccount.getAxolotlService().getOwnDeviceIds();
|
||||||
if (otherDevices == null || otherDevices.isEmpty() || Config.supportOmemo()) {
|
if (otherDevices == null || otherDevices.isEmpty() || !Config.supportOmemo()) {
|
||||||
clearDevices.setVisible(false);
|
clearDevices.setVisible(false);
|
||||||
}
|
}
|
||||||
changePresence.setVisible(manuallyChangePresence());
|
changePresence.setVisible(manuallyChangePresence());
|
||||||
|
|
Loading…
Reference in a new issue