Fix groupChat addParticipants (#3543)

* Fix addParticipants

* fix Approve and Reject Membership Requests
This commit is contained in:
BenyFilho 2025-05-12 11:50:42 -03:00 • committed by GitHub
commit 0ad998d68d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -925,7 +925,7 @@ exports.LoadUtils = () => {
let response;
let result = [];
await window.Store.GroupQueryAndUpdate(groupWid);
await window.Store.GroupQueryAndUpdate({ id: groupId });
if (!requesterIds?.length) {
membershipRequests = group.groupMetadata.membershipApprovalRequests._models.map(({ id }) => id);