Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
purpshell authored May 6, 2024
1 parent fbbb511 commit 72407e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Socket/chats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
},
content: [
{ tag: 'props', attrs: {
protocol: 2,
protocol: '2',
hash: authState?.creds?.lastPropHash || ""
} }
]
Expand All @@ -737,7 +737,7 @@ export const makeChatsSocket = (config: SocketConfig) => {

let props: { [_: string]: string } = {}
if(propsNode) {
authState?.creds?.lastPropHash = propsNode?.attrs?.hash
authState.creds.lastPropHash = propsNode?.attrs?.hash
ev.emit('creds.update', authState.creds)
props = reduceBinaryNodeToDictionary(propsNode, 'prop')
}
Expand Down

0 comments on commit 72407e3

Please sign in to comment.