Add gift badges device capability

This commit is contained in:
Ehren Kret
2022-04-19 10:09:54 -05:00
parent 796fb3b4cd
commit 9e66f8ac11
11 changed files with 116 additions and 46 deletions

View File

@@ -246,6 +246,7 @@ public class DeviceController {
isDowngrade |= account.isAnnouncementGroupSupported() && !capabilities.isAnnouncementGroup();
isDowngrade |= account.isSenderKeySupported() && !capabilities.isSenderKey();
isDowngrade |= account.isGv1MigrationSupported() && !capabilities.isGv1Migration();
isDowngrade |= account.isGiftBadgesSupported() && !capabilities.isGiftBadges();
if (account.isGroupsV2Supported()) {
try {