mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Update socket.ts
This commit is contained in:
@@ -623,7 +623,8 @@ export const makeSocket = (config: SocketConfig) => {
|
||||
}
|
||||
})
|
||||
// login complete
|
||||
ws.on('CB:success', async() => {
|
||||
ws.on('CB:success', async (node) => {
|
||||
console.log(node.attrs) // temporary log, don't merge before removing
|
||||
await uploadPreKeysToServerIfRequired()
|
||||
await sendPassiveIq('active')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user