From c264633291b16ffd897e9a98d29d3bf6a11502ff Mon Sep 17 00:00:00 2001 From: Rajeh Taher Date: Tue, 12 Mar 2024 07:25:45 +0200 Subject: [PATCH] fix(missing-messages): linting and bug --- src/Socket/messages-recv.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Socket/messages-recv.ts b/src/Socket/messages-recv.ts index 8e7f544..53d393e 100644 --- a/src/Socket/messages-recv.ts +++ b/src/Socket/messages-recv.ts @@ -115,7 +115,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => { const stanza: BinaryNode = ({ tag: 'call', attrs: { - from: authState.creds.me!, + from: authState.creds.me!.id, to: callFrom, }, content: [{ @@ -160,7 +160,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => { { tag: 'retry', attrs: { - count: retryCount, + count: retryCount as any, id: node.attrs.id.toString(), t: node.attrs.t.toString(), v: '1'