From b3e8b38917fa86a0621832ecf743746675d22f62 Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Sat, 23 Apr 2022 12:46:48 +0530 Subject: [PATCH] Revert "chore: disable init queries" This reverts commit 6708775cb5f6db3530f6bbac82304e2c84e96972. --- src/Socket/chats.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Socket/chats.ts b/src/Socket/chats.ts index 9ea410b..bcfe7d3 100644 --- a/src/Socket/chats.ts +++ b/src/Socket/chats.ts @@ -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,