From 88cf6f52347fe31ac91d300daa3de66fc70cfc59 Mon Sep 17 00:00:00 2001 From: Rajeh Taher Date: Fri, 10 May 2024 16:24:20 +0300 Subject: [PATCH] fix(master): linting --- src/Socket/chats.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Socket/chats.ts b/src/Socket/chats.ts index 105a25b..5be14ca 100644 --- a/src/Socket/chats.ts +++ b/src/Socket/chats.ts @@ -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