mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix(fix-routing-info): initial commit (#837)
This commit is contained in:
@@ -681,6 +681,7 @@ export const makeSocket = (config: SocketConfig) => {
|
||||
const routingInfo = getBinaryNodeChild(edgeRoutingNode, 'routing_info')
|
||||
if(routingInfo?.content) {
|
||||
authState.creds.routingInfo = Buffer.from(routingInfo?.content as Uint8Array)
|
||||
ev.emit('creds.update', authState.creds)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user