mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
linting
This commit is contained in:
@@ -726,7 +726,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
|||||||
},
|
},
|
||||||
content: [
|
content: [
|
||||||
{ tag: 'props', attrs: {
|
{ tag: 'props', attrs: {
|
||||||
protocol: 2,
|
protocol: '2',
|
||||||
hash: authState?.creds?.lastPropHash || ""
|
hash: authState?.creds?.lastPropHash || ""
|
||||||
} }
|
} }
|
||||||
]
|
]
|
||||||
@@ -737,7 +737,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
|||||||
|
|
||||||
let props: { [_: string]: string } = {}
|
let props: { [_: string]: string } = {}
|
||||||
if(propsNode) {
|
if(propsNode) {
|
||||||
authState?.creds?.lastPropHash = propsNode?.attrs?.hash
|
authState.creds.lastPropHash = propsNode?.attrs?.hash
|
||||||
ev.emit('creds.update', authState.creds)
|
ev.emit('creds.update', authState.creds)
|
||||||
props = reduceBinaryNodeToDictionary(propsNode, 'prop')
|
props = reduceBinaryNodeToDictionary(propsNode, 'prop')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user