Revert "feat: resync main app state on first open"

This reverts commit 060c838707.
This commit is contained in:
Adhiraj Singh
2022-04-12 17:08:10 +05:30
parent 5655ccaca7
commit 2cc5cc2dd4
3 changed files with 1 additions and 7 deletions

View File

@@ -614,10 +614,6 @@ export const makeChatsSocket = (config: SocketConfig) => {
fetchPrivacySettings(),
sendPresenceUpdate('available')
])
if(!authState.creds.didInitialAppStateSync) {
await resyncMainAppState()
ev.emit('creds.update', { didInitialAppStateSync: true })
}
}
ws.on('CB:presence', handlePresenceUpdate)