From 3be21f8b9967a02b554dc8d67b560c290d689fe9 Mon Sep 17 00:00:00 2001 From: Marc Knaup Date: Wed, 19 Nov 2025 14:20:07 +0100 Subject: [PATCH] Added missing attribute to community participant removal (#2004) --- src/Socket/communities.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socket/communities.ts b/src/Socket/communities.ts index e69ab7c0..7cfabfd2 100644 --- a/src/Socket/communities.ts +++ b/src/Socket/communities.ts @@ -288,7 +288,7 @@ export const makeCommunitiesSocket = (config: SocketConfig) => { const result = await communityQuery(jid, 'set', [ { tag: action, - attrs: {}, + attrs: action === 'remove' ? { linked_groups: 'true' } : {}, content: participants.map(jid => ({ tag: 'participant', attrs: { jid }