Added missing attribute to community participant removal (#2004)

This commit is contained in:
Marc Knaup
2025-11-19 14:20:07 +01:00
committed by GitHub
parent 2779c9df08
commit 3be21f8b99
+1 -1
View File
@@ -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 }