Skip to content

Commit 3be21f8

Browse files
authored
Added missing attribute to community participant removal (#2004)
1 parent 2779c9d commit 3be21f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Socket/communities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export const makeCommunitiesSocket = (config: SocketConfig) => {
288288
const result = await communityQuery(jid, 'set', [
289289
{
290290
tag: action,
291-
attrs: {},
291+
attrs: action === 'remove' ? { linked_groups: 'true' } : {},
292292
content: participants.map(jid => ({
293293
tag: 'participant',
294294
attrs: { jid }

0 commit comments

Comments
 (0)