Revert "fix: always send key bundle with retry receipt"

This reverts commit 8fc1c10f0b.
This commit is contained in:
Adhiraj Singh
2022-07-13 09:48:38 +05:30
parent 8fc1c10f0b
commit f5af502c19

View File

@@ -118,7 +118,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
receipt.attrs.participant = node.attrs.participant
}
if(retryCount >= 1) {
if(retryCount > 1) {
const exec = generateSignalPubKey(Buffer.from(KEY_BUNDLE_TYPE)).slice(0, 1)
const content = receipt.content! as BinaryNode[]
content.push({