From ea3a96fe6052d6ebc3b1afd5b7c2b3081ab2ba9c Mon Sep 17 00:00:00 2001 From: programadorbob <116108544+programadorbob@users.noreply.github.com> Date: Mon, 16 Oct 2023 18:12:49 -0300 Subject: [PATCH] Update isCommunity --- src/Socket/groups.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socket/groups.ts b/src/Socket/groups.ts index cfc11a92752..c16a0a64a3e 100644 --- a/src/Socket/groups.ts +++ b/src/Socket/groups.ts @@ -331,7 +331,7 @@ export const extractGroupMetadata = (result: BinaryNode) => { descId, restrict: !!getBinaryNodeChild(group, 'locked'), announce: !!getBinaryNodeChild(group, 'announcement'), - isCommunity: !!getBinaryNodeChild(group, 'parent'), + isCommunity: !!getBinaryNodeChild(group, 'linked_parent'), isCommunityAnnounce: !!getBinaryNodeChild(group, 'default_sub_group'), memberAddMode, participants: getBinaryNodeChildren(group, 'participant').map(