Send to just-removed folks in groupv2 removal operations

This commit is contained in:
Scott Nonnenberg 2021-03-24 14:28:55 -07:00 committed by GitHub
parent 7c4e4c97e7
commit 2d8f237b76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 50 additions and 17 deletions

View file

@ -1163,11 +1163,13 @@ export async function uploadGroupChange({
export async function modifyGroupV2({
conversation,
createGroupChange,
extraConversationsForSend,
inviteLinkPassword,
name,
}: {
conversation: ConversationModel;
createGroupChange: () => Promise<GroupChangeClass.Actions | undefined>;
extraConversationsForSend?: Array<string>;
inviteLinkPassword?: string;
name: string;
}): Promise<void> {
@ -1248,6 +1250,7 @@ export async function modifyGroupV2({
groupV2: conversation.getGroupV2Info({
groupChange: groupChangeBuffer,
includePendingMembers: true,
extraConversationsForSend,
}),
timestamp,
profileKey,