mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-24 17:44:22 +01:00
Store announcement group capability
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user