mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix groupMetdata (#1049)
This commit is contained in:
@@ -199,8 +199,8 @@ export const extractGroupMetadata = (result: BinaryNode) => {
|
||||
owner: group.attrs.creator ? jidNormalizedUser(group.attrs.creator) : undefined,
|
||||
desc,
|
||||
descId,
|
||||
restrict: !!getBinaryNodeChild(result, 'locked'),
|
||||
announce: !!getBinaryNodeChild(result, 'announcement'),
|
||||
restrict: !!getBinaryNodeChild(group, 'locked'),
|
||||
announce: !!getBinaryNodeChild(group, 'announcement'),
|
||||
participants: getBinaryNodeChildren(group, 'participant').map(
|
||||
({ attrs }) => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user