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

This commit is contained in:
Jon Chambers 2020-09-24 18:56:29 -04:00 committed by Jon Chambers
parent 906cd975d1
commit c54d3abe47
1 changed files with 3 additions and 1 deletions

View File

@ -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());
}
}