mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Fix initial-data-received called multiple times
The latest android version has messages with the last: true flag set on all messages, causing incorrect events being fired off. This update creates a timeout that fires off the initial-data-received 2500ms after the last messages received. This may not be as accurate in production but will be better than the current version
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -9,4 +9,5 @@ decoded-ws.json
|
||||
lib
|
||||
docs
|
||||
browser-token.json
|
||||
Proxy
|
||||
Proxy
|
||||
messages*.json
|
||||
Reference in New Issue
Block a user