mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-11 07:11:47 +00:00
received group messages aren't processed as "meta" group stuff, oops.
This commit is contained in:
@@ -33,6 +33,11 @@ public class GroupUtil {
|
||||
return groupId.startsWith(ENCODED_GROUP_PREFIX);
|
||||
}
|
||||
|
||||
public static boolean isMetaGroupAction(int groupAction) {
|
||||
return groupAction > 0
|
||||
&& groupAction != GroupContext.Type.DELIVER_VALUE;
|
||||
}
|
||||
|
||||
public static String serializeArguments(byte[] id, String name, List<String> members) {
|
||||
return Base64.encodeBytes(GroupContext.newBuilder()
|
||||
.setId(ByteString.copyFrom(id))
|
||||
|
||||
Reference in New Issue
Block a user