Skip to content

Commit

Permalink
Update isCommunity
Browse files Browse the repository at this point in the history
  • Loading branch information
okfull authored Oct 16, 2023
1 parent b4f40a7 commit ea3a96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Socket/groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ea3a96f

Please sign in to comment.