Added missing attribute to community participant removal (#2004)
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user