fix conflict

This commit is contained in:
Bob
2023-12-23 22:06:26 -03:00
committed by GitHub
parent 04370b259d
commit c545ed628d

View File

@@ -397,7 +397,8 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
for(const { attrs } of blocklists) {
const blocklist = [attrs.jid]
const type = attrs.action === 'block' ? 'add' : 'remove'
const type = (attrs.action === 'block') ? 'add' : 'remove'
ev.emit('blocklist.update', { blocklist, type })
}
}