fix(master): linting warnings

This commit is contained in:
Rajeh Taher
2024-05-10 16:33:59 +03:00
committed by GitHub
parent 88cf6f5234
commit ce325d1182
3 changed files with 9 additions and 9 deletions

View File

@@ -165,8 +165,8 @@ export const makeGroupsSocket = (config: SocketConfig) => {
}]
)
const node = getBinaryNodeChild(result, 'membership_requests_action')
const nodeAction = getBinaryNodeChild(node!, action)
const participantsAffected = getBinaryNodeChildren(nodeAction!, 'participant')
const nodeAction = getBinaryNodeChild(node, action)
const participantsAffected = getBinaryNodeChildren(nodeAction, 'participant')
return participantsAffected.map(p => {
return { status: p.attrs.error || '200', jid: p.attrs.jid }
})