Check for the second-gen GV2 capability when linking devices.

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2020-09-24 19:04:02 -04:00
1 parent 906cd975d1
commit c54d3abe47
1 file changed
+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());
}
}