fix: Fix linting

This commit is contained in:
Rajeh Taher
2023-12-18 16:43:28 +02:00
committed by GitHub
parent e24947e55a
commit cbffb2941c
2 changed files with 6 additions and 6 deletions

View File

@@ -392,16 +392,16 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
},
}
})
} else if (child.tag === 'blocklist') {
} else if(child.tag === 'blocklist') {
const blocklists = getBinaryNodeChildren(child, 'item')
for(const { attrs } of blocklists) {
const blocklist = [attrs.jid]
const type = (attrs.action === 'block') ? 'add' : 'remove'
const blocklist = [attrs.jid]
const type = (attrs.action === 'block') ? 'add' : 'remove'
ev.emit('blocklist.update', { blocklist, type })
ev.emit('blocklist.update', { blocklist, type })
}
}
}
break
case 'link_code_companion_reg':