mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Revert "fix: always send key bundle with retry receipt"
This reverts commit 8fc1c10f0b.
This commit is contained in:
@@ -118,7 +118,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
receipt.attrs.participant = node.attrs.participant
|
receipt.attrs.participant = node.attrs.participant
|
||||||
}
|
}
|
||||||
|
|
||||||
if(retryCount >= 1) {
|
if(retryCount > 1) {
|
||||||
const exec = generateSignalPubKey(Buffer.from(KEY_BUNDLE_TYPE)).slice(0, 1)
|
const exec = generateSignalPubKey(Buffer.from(KEY_BUNDLE_TYPE)).slice(0, 1)
|
||||||
const content = receipt.content! as BinaryNode[]
|
const content = receipt.content! as BinaryNode[]
|
||||||
content.push({
|
content.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user