mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Fix: fetchBlocklist (#1042)
This commit is contained in:
@@ -135,6 +135,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
|||||||
type: 'get'
|
type: 'get'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
return result.content[0].content.map(i => i.attrs.jid)
|
||||||
}
|
}
|
||||||
|
|
||||||
const updateBlockStatus = async(jid: string, action: 'block' | 'unblock') => {
|
const updateBlockStatus = async(jid: string, action: 'block' | 'unblock') => {
|
||||||
|
|||||||
Reference in New Issue
Block a user