This commit is contained in:
Bob
2023-12-23 21:56:59 -03:00
committed by GitHub
parent 745e36e603
commit 04370b259d

View File

@@ -397,7 +397,7 @@ 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 })
}
}