mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 16:06:47 +00:00
Check for the second-gen GV2 capability when linking devices.
This commit is contained in:
1 parent
906cd975d1
commit
c54d3abe47
1 file changed
+3
-1
+3
-1
@@ -242,6 +242,8 @@ public class DeviceController {
|
||||
}
|
||||
|
||||
private boolean isCapabilityDowngrade(Account account, DeviceCapabilities capabilities) {
|
||||
return (!capabilities.isGv2() && account.isGroupsV2Supported());
|
||||
// Only iOS and desktop clients can be linked devices right now, and both require the second-gen GV2 capability to
|
||||
// support GV2.
|
||||
return (!capabilities.isGv2_2() && account.isGroupsV2Supported());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user