mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
possible loadMessage fix
This commit is contained in:
@@ -117,9 +117,6 @@ WAConnectionTest('Misc', (conn) => {
|
||||
}
|
||||
})
|
||||
it('should load a single message', async () => {
|
||||
const loaded = await conn.loadMessage (testJid, '5A3FF17786EBCD0EF350')
|
||||
assert.equal (loaded.key.id, '5A3FF17786EBCD0EF350')
|
||||
|
||||
const {messages} = await conn.loadMessages (testJid, 10)
|
||||
for (var message of messages) {
|
||||
const loaded = await conn.loadMessage (testJid, message.key.id)
|
||||
|
||||
Reference in New Issue
Block a user