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