Update socket.ts

This commit is contained in:
Rajeh Taher
2023-10-01 16:55:40 +03:00
committed by GitHub
parent e587ae0bf8
commit 0b2f4d0b42

View File

@@ -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')