mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: mobile app state key + message events
This commit is contained in:
@@ -915,7 +915,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
||||
// if we don't have the app state key
|
||||
// we keep buffering events until we finally have
|
||||
// the key and can sync the messages
|
||||
if(!authState.creds?.myAppStateKeyId) {
|
||||
if(!authState.creds?.myAppStateKeyId && !config.mobile) {
|
||||
ev.buffer()
|
||||
needToFlushWithAppStateSync = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user