GroupsV2 update sending and local context storage.

This commit is contained in:
Alan Evans
2020-04-09 18:02:13 -03:00
committed by Greyson Parrelli
parent f5e6fd6340
commit 78055e3ccb
9 changed files with 327 additions and 60 deletions

View File

@@ -39,6 +39,16 @@ public final class DecryptedGroupUtil {
return uuidList;
}
public static ArrayList<UUID> membersToUuidList(Collection<DecryptedMember> membersList) {
ArrayList<UUID> uuidList = new ArrayList<>(membersList.size());
for (DecryptedMember member : membersList) {
uuidList.add(toUuid(member));
}
return uuidList;
}
public static ArrayList<UUID> pendingToUuidList(Collection<DecryptedPendingMember> membersList) {
ArrayList<UUID> uuidList = new ArrayList<>(membersList.size());