fix: mobile app state key + message events
This commit is contained in:
+1
-1
@@ -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