mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 13:46:47 +00:00
Temporarily move GV2 capability from allMatch to anyMatch
This commit is contained in:
1 parent
6a11501184
commit
a32c8fabed
1 file changed
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user