Temporarily move GV2 capability from allMatch to anyMatch

This commit is contained in:
Moxie Marlinspike
2020-04-20 13:42:36 -07:00
parent 6a11501184
commit a32c8fabed

View File

@@ -142,7 +142,7 @@ public class Account implements Principal {
public boolean isGroupsV2Supported() {
return devices.stream()
.filter(Device::isEnabled)
.allMatch(device -> device.getCapabilities() != null && device.getCapabilities().isGv2());
.anyMatch(device -> device.getCapabilities() != null && device.getCapabilities().isGv2());
}
public boolean isStorageSupported() {