mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: add open connection log
This commit is contained in:
@@ -460,6 +460,9 @@ export const makeSocket = ({
|
|||||||
await uploadPreKeys()
|
await uploadPreKeys()
|
||||||
}
|
}
|
||||||
await sendPassiveIq('active')
|
await sendPassiveIq('active')
|
||||||
|
|
||||||
|
logger.info('opened connection to WA')
|
||||||
|
|
||||||
ev.emit('connection.update', { connection: 'open' })
|
ev.emit('connection.update', { connection: 'open' })
|
||||||
})
|
})
|
||||||
// logged out
|
// logged out
|
||||||
|
|||||||
Reference in New Issue
Block a user