From 4a7f467b061540f00b9a1f600387c4de8efe2170 Mon Sep 17 00:00:00 2001 From: ilanbenb <12747039+ilanbenb@users.noreply.github.com> Date: Mon, 30 Jun 2025 02:35:14 +0300 Subject: [PATCH] Update GroupList.js I reproduced a bug that localy. On my device, The groups JID's are LID's. I saw that PhoneNumber has the right data that matches. Signed-off-by: ilanbenb <12747039+ilanbenb@users.noreply.github.com> --- src/views/components/GroupList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/components/GroupList.js b/src/views/components/GroupList.js index 5cb9969..e37a31f 100644 --- a/src/views/components/GroupList.js +++ b/src/views/components/GroupList.js @@ -89,7 +89,7 @@ export default { // Check if current user is an admin in participants const currentUserJID = `${this.currentUserId}@s.whatsapp.net`; - const participant = group.Participants.find(p => p.JID === currentUserJID); + const participant = group.Participants.find(p => p.PhoneNumber === currentUserJID); return participant && participant.IsAdmin; }, async handleSeeRequestedMember(group_id) { @@ -250,4 +250,4 @@ export default { ` -} \ No newline at end of file +}