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
|
@ -755,12 +755,14 @@ export class ConversationModel extends window.Backbone
|
|||
extraConversationsForSend,
|
||||
inviteLinkPassword,
|
||||
name,
|
||||
syncMessageOnly,
|
||||
}: {
|
||||
usingCredentialsFrom: ReadonlyArray<ConversationModel>;
|
||||
createGroupChange: () => Promise<Proto.GroupChange.Actions | undefined>;
|
||||
extraConversationsForSend?: ReadonlyArray<string>;
|
||||
inviteLinkPassword?: string;
|
||||
name: string;
|
||||
syncMessageOnly?: boolean;
|
||||
}): Promise<void> {
|
||||
await window.Signal.Groups.modifyGroupV2({
|
||||
conversation: this,
|
||||
|
@ -769,6 +771,7 @@ export class ConversationModel extends window.Backbone
|
|||
extraConversationsForSend,
|
||||
inviteLinkPassword,
|
||||
name,
|
||||
syncMessageOnly,
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -2597,6 +2600,7 @@ export class ConversationModel extends window.Backbone
|
|||
name: 'delete',
|
||||
usingCredentialsFrom: [],
|
||||
createGroupChange: () => this.removePendingMember([ourPNI]),
|
||||
syncMessageOnly: true,
|
||||
});
|
||||
} else {
|
||||
const logId = this.idForLogging();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue