mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
add linkedParent in groupMetadata (#734)
* Update GroupMetadata.ts * Update groups.ts
This commit is contained in:
committed by
GitHub
parent
495bb6775a
commit
e52570bbd7
@@ -335,6 +335,7 @@ export const extractGroupMetadata = (result: BinaryNode) => {
|
||||
owner: group.attrs.creator ? jidNormalizedUser(group.attrs.creator) : undefined,
|
||||
desc,
|
||||
descId,
|
||||
linkedParent: getBinaryNodeChild(group, 'linked_parent')?.attrs.jid || undefined,
|
||||
restrict: !!getBinaryNodeChild(group, 'locked'),
|
||||
announce: !!getBinaryNodeChild(group, 'announcement'),
|
||||
isCommunity: !!getBinaryNodeChild(group, 'parent'),
|
||||
|
||||
Reference in New Issue
Block a user