mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix conflict
This commit is contained in:
@@ -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 })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user