feat: resync main app state on new key

This commit is contained in:
Adhiraj Singh
2021-11-19 17:43:14 +05:30
parent 79100a3164
commit 72889551b9
3 changed files with 8 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
import { SocketConfig } from '../Types'
import { DEFAULT_CONNECTION_CONFIG } from '../Defaults'
import { makeChatsSocket as _makeSocket } from './chats'
import { makeMessagesRecvSocket as _makeSocket } from './messages-recv'
// export the last socket layer
const makeWASocket = (config: Partial<SocketConfig>) => (