mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Store announcement group capability
This commit is contained in:
parent
e3d5ebaa9e
commit
fbafa75fe2
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue