mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: include platform in creds
This commit is contained in:
@@ -490,7 +490,10 @@ export const makeSocket = ({
|
||||
}
|
||||
}
|
||||
|
||||
logger.info({ jid: updatedCreds.me!.id }, 'registered connection, restart server')
|
||||
logger.info(
|
||||
{ me: updatedCreds.me, platform: updatedCreds.platform },
|
||||
'registered connection, restart server'
|
||||
)
|
||||
|
||||
ev.emit('creds.update', updatedCreds)
|
||||
ev.emit('connection.update', { isNewLogin: true, qr: undefined })
|
||||
|
||||
Reference in New Issue
Block a user