Store announcement group capability
This commit is contained in:
parent
e3d5ebaa9e
commit
fbafa75fe2
@ -134,7 +134,8 @@ public class Profile {
|
||||
gv2,
|
||||
storage,
|
||||
gv1Migration,
|
||||
senderKey;
|
||||
senderKey,
|
||||
announcementGroup;
|
||||
|
||||
static Capability valueOfOrNull(String value) {
|
||||
try {
|
||||
|
@ -65,6 +65,10 @@ public class ProfileUtils {
|
||||
if (encryptedProfile.getCapabilities().isSenderKey()) {
|
||||
capabilities.add(Profile.Capability.senderKey);
|
||||
}
|
||||
if (encryptedProfile.getCapabilities().isAnnouncementGroup()) {
|
||||
capabilities.add(Profile.Capability.announcementGroup);
|
||||
}
|
||||
|
||||
return capabilities;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user