Don't send group update on PNI decline
This commit is contained in:
parent
a31cf5645e
commit
3ff390e1c4
3 changed files with 23 additions and 2 deletions
|
@ -1455,6 +1455,7 @@ export async function modifyGroupV2({
|
|||
extraConversationsForSend,
|
||||
inviteLinkPassword,
|
||||
name,
|
||||
syncMessageOnly = false,
|
||||
}: {
|
||||
conversation: ConversationModel;
|
||||
usingCredentialsFrom: ReadonlyArray<ConversationModel>;
|
||||
|
@ -1462,6 +1463,7 @@ export async function modifyGroupV2({
|
|||
extraConversationsForSend?: ReadonlyArray<string>;
|
||||
inviteLinkPassword?: string;
|
||||
name: string;
|
||||
syncMessageOnly?: boolean;
|
||||
}): Promise<void> {
|
||||
const logId = `${name}/${conversation.idForLogging()}`;
|
||||
|
||||
|
@ -1561,7 +1563,7 @@ export async function modifyGroupV2({
|
|||
type: conversationQueueJobEnum.enum.GroupUpdate,
|
||||
conversationId: conversation.id,
|
||||
groupChangeBase64,
|
||||
recipients: groupV2Info.members.slice(),
|
||||
recipients: syncMessageOnly ? [] : groupV2Info.members.slice(),
|
||||
revision: groupV2Info.revision,
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue