mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
lint: resolve lint problems
This commit is contained in:
@@ -65,7 +65,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
logger.debug({ recv: { tag, attrs }, sent: stanza.attrs }, 'sent ack')
|
logger.debug({ recv: { tag, attrs }, sent: stanza.attrs }, 'sent ack')
|
||||||
await sendNode(stanza)
|
await sendNode(stanza)
|
||||||
}
|
}
|
||||||
|
|
||||||
const rejectCall = async(callId: string, callFrom: string) => {
|
const rejectCall = async(callId: string, callFrom: string) => {
|
||||||
const stanza: BinaryNode = ({
|
const stanza: BinaryNode = ({
|
||||||
tag: 'call',
|
tag: 'call',
|
||||||
@@ -76,13 +76,13 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
content: [{
|
content: [{
|
||||||
tag: 'reject',
|
tag: 'reject',
|
||||||
attrs: {
|
attrs: {
|
||||||
'call-id': callId,
|
'call-id': callId,
|
||||||
'call-creator': callFrom,
|
'call-creator': callFrom,
|
||||||
count: '0',
|
count: '0',
|
||||||
},
|
},
|
||||||
content: undefined,
|
content: undefined,
|
||||||
}],
|
}],
|
||||||
});
|
})
|
||||||
await query(stanza)
|
await query(stanza)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user