Apply server returned group patch instead of local only.

This commit is contained in:
Cody Henthorne
2022-02-25 14:22:17 -05:00
committed by Alex Hart
parent 2d7655a6bb
commit 69dc31681d
9 changed files with 352 additions and 73 deletions

View File

@@ -732,7 +732,8 @@ public final class GroupsV2Operations {
return UuidUtil.toByteString(decryptUuid(userId));
}
ByteString encryptUuid(UUID uuid) {
// Visible for Testing
public ByteString encryptUuid(UUID uuid) {
return ByteString.copyFrom(clientZkGroupCipher.encryptUuid(uuid).serialize());
}