removeFromGroup: Don't use removed member for credentials

This commit is contained in:
Scott Nonnenberg 2025-01-27 04:50:48 -10:00 committed by GitHub
parent 64fc85e0ed
commit edec098d40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2789,7 +2789,7 @@ export class ConversationModel extends window.Backbone
} else if (this.isMember(serviceId)) {
await this.modifyGroupV2({
name: 'removeFromGroup',
usingCredentialsFrom: [pendingMember],
usingCredentialsFrom: [],
createGroupChange: () => this.#removeMember(serviceId),
extraConversationsForSend: [conversationId],
});