diff --git a/src/Socket/groups.ts b/src/Socket/groups.ts index 13c9622..c3a6b06 100644 --- a/src/Socket/groups.ts +++ b/src/Socket/groups.ts @@ -99,7 +99,9 @@ export const makeGroupsSocket = (config: SocketConfig) => { ) const node = getBinaryNodeChild(result, action) const participantsAffected = getBinaryNodeChildren(node!, 'participant') - return participantsAffected.map(p => p.attrs.jid) + return participantsAffected.map(p => { + return { status: p.attrs.error || 200, jid: p.attrs.jid } + }) }, groupUpdateDescription: async(jid: string, description?: string) => { const metadata = await groupMetadata(jid)