fix(missing-messages): linting and bug

This commit is contained in:
Rajeh Taher
2024-03-12 07:25:45 +02:00
committed by GitHub
parent 8777f7fa70
commit c264633291

View File

@@ -115,7 +115,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
const stanza: BinaryNode = ({ const stanza: BinaryNode = ({
tag: 'call', tag: 'call',
attrs: { attrs: {
from: authState.creds.me!, from: authState.creds.me!.id,
to: callFrom, to: callFrom,
}, },
content: [{ content: [{
@@ -160,7 +160,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
{ {
tag: 'retry', tag: 'retry',
attrs: { attrs: {
count: retryCount, count: retryCount as any,
id: node.attrs.id.toString(), id: node.attrs.id.toString(),
t: node.attrs.t.toString(), t: node.attrs.t.toString(),
v: '1' v: '1'