mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Update 4.Events.ts
This commit is contained in:
@@ -63,7 +63,7 @@ export class WAConnection extends Base {
|
|||||||
chat.count = +chat.count
|
chat.count = +chat.count
|
||||||
chat.messages = newMessagesDB()
|
chat.messages = newMessagesDB()
|
||||||
// chats data (log json to see what it looks like)
|
// chats data (log json to see what it looks like)
|
||||||
chats.insert(chat)
|
chats.insertIfAbsent(chat)
|
||||||
})
|
})
|
||||||
this.logger.info (`received ${json[2].length} chats`)
|
this.logger.info (`received ${json[2].length} chats`)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user