mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 06:18:06 +01:00
Check for the second-gen GV2 capability when linking devices.
This commit is contained in:
committed by
Jon Chambers
parent
906cd975d1
commit
c54d3abe47
@@ -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