diff --git a/lib/src/main/java/org/asamk/signal/manager/storage/recipients/Profile.java b/lib/src/main/java/org/asamk/signal/manager/storage/recipients/Profile.java index 87828953..d61a81b5 100644 --- a/lib/src/main/java/org/asamk/signal/manager/storage/recipients/Profile.java +++ b/lib/src/main/java/org/asamk/signal/manager/storage/recipients/Profile.java @@ -134,7 +134,8 @@ public class Profile { gv2, storage, gv1Migration, - senderKey; + senderKey, + announcementGroup; static Capability valueOfOrNull(String value) { try { diff --git a/lib/src/main/java/org/asamk/signal/manager/util/ProfileUtils.java b/lib/src/main/java/org/asamk/signal/manager/util/ProfileUtils.java index f6f76c2c..7ceb07f6 100644 --- a/lib/src/main/java/org/asamk/signal/manager/util/ProfileUtils.java +++ b/lib/src/main/java/org/asamk/signal/manager/util/ProfileUtils.java @@ -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; }