fix(master): linting

This commit is contained in:
Rajeh Taher
2024-05-10 16:24:20 +03:00
committed by GitHub
parent 3ba86c1551
commit 88cf6f5234

View File

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