diff --git a/src/LegacySocket/auth.ts b/src/LegacySocket/auth.ts index 4ccab6b..e612d63 100644 --- a/src/LegacySocket/auth.ts +++ b/src/LegacySocket/auth.ts @@ -220,6 +220,16 @@ const makeAuthSocket = (config: LegacySocketConfig) => { printQRIfNecessaryListener(ev, logger) } + process.nextTick(() => { + ev.emit('connection.update', { + connection: 'connecting', + receivedPendingNotifications: false, + legacy: { + phoneConnected: false + } + }) + }) + return { ...socket, state,