minor fixes

This commit is contained in:
Adhiraj
2020-08-07 22:39:05 +05:30
parent 87c47994a7
commit 9d8d60d245
3 changed files with 11 additions and 10 deletions

View File

@@ -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)
}
})*/
})