ilanbenb
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
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 { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
`
|
|
|
|
} |
|
|
|
} |