Update the groups tables to use foreign keys.

This commit is contained in:
Greyson Parrelli
2023-08-16 12:23:54 -04:00
committed by GitHub
parent 3be5d61ced
commit 442a66df2e
8 changed files with 151 additions and 45 deletions

View File

@@ -59,7 +59,7 @@ final class GroupManagerV1 {
if (groupId.isV1()) {
GroupId.V1 groupIdV1 = groupId.requireV1();
groupDatabase.create(groupIdV1, name, memberIds, null, null);
groupDatabase.create(groupIdV1, name, memberIds, null);
try {
AvatarHelper.setAvatar(context, groupRecipientId, avatarBytes != null ? new ByteArrayInputStream(avatarBytes) : null);