Revert "chore: disable init queries"

This reverts commit 6708775cb5.
This commit is contained in:
Adhiraj Singh
2022-04-23 12:46:48 +05:30
parent 5e41d3d284
commit b3e8b38917

View File

@@ -652,14 +652,14 @@ export const makeChatsSocket = (config: SocketConfig) => {
}
})
/*ev.on('connection.update', ({ connection }) => {
ev.on('connection.update', ({ connection }) => {
if(connection === 'open') {
fireInitQueries()
.catch(
error => onUnexpectedError(error, 'connection open requests')
)
}
})*/
})
return {
...sock,