removeFromGroup: Don't use removed member for credentials

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
automated-signal 2025-01-28 15:16:20 -06:00 committed by GitHub
parent 251f0246cc
commit e9d0a9469b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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