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,
|
owner: group.attrs.creator ? jidNormalizedUser(group.attrs.creator) : undefined,
|
||||||
desc,
|
desc,
|
||||||
descId,
|
descId,
|
||||||
restrict: !!getBinaryNodeChild(result, 'locked'),
|
restrict: !!getBinaryNodeChild(group, 'locked'),
|
||||||
announce: !!getBinaryNodeChild(result, 'announcement'),
|
announce: !!getBinaryNodeChild(group, 'announcement'),
|
||||||
participants: getBinaryNodeChildren(group, 'participant').map(
|
participants: getBinaryNodeChildren(group, 'participant').map(
|
||||||
({ attrs }) => {
|
({ attrs }) => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user