mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
minor fixes
This commit is contained in:
@@ -264,4 +264,12 @@ WAClientTest('Events', (client) => {
|
||||
const response = await client.sendMessage(testJid, 'My Name Jeff', MessageType.text)
|
||||
await promiseTimeout(10000, waitForUpdate())
|
||||
})
|
||||
/*it('should retreive all conversations', async () => {
|
||||
const [chats] = await client.receiveChatsAndContacts (10000)
|
||||
for (let chat of chats.all()) {
|
||||
console.log ('receiving ' + chat.jid)
|
||||
const convo = await client.loadConversation (chat.jid.replace('@s.whatsapp.net', '@c.us'), 25)
|
||||
await createTimeout (200)
|
||||
}
|
||||
})*/
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user