Fix bug with displaying existing remote wipers

This commit is contained in:
ameba23
2022-02-25 09:34:37 +01:00
parent 90d0a772be
commit fcfbf8e72b

View File

@@ -612,7 +612,7 @@ public class RemoteWipeManagerImpl extends ConversationClientImpl
@Override @Override
public boolean remoteWipeIsSetup(Transaction txn) { public boolean remoteWipeIsSetup(Transaction txn) {
try { try {
return !db.getGroupMetadata(txn, localGroup.getId()).isEmpty(); return getWipers(txn).size() > 0;
} catch (DbException e) { } catch (DbException e) {
return false; return false;
} }