mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: expose sendRetryRequest
This commit is contained in:
@@ -86,7 +86,8 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
{
|
{
|
||||||
tag: 'retry',
|
tag: 'retry',
|
||||||
attrs: {
|
attrs: {
|
||||||
count: retryCount.toString(), id: node.attrs.id,
|
count: retryCount.toString(),
|
||||||
|
id: node.attrs.id,
|
||||||
t: node.attrs.t,
|
t: node.attrs.t,
|
||||||
v: '1'
|
v: '1'
|
||||||
}
|
}
|
||||||
@@ -497,5 +498,5 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
return { ...sock, processMessage, sendMessageAck }
|
return { ...sock, processMessage, sendMessageAck, sendRetryRequest }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user