From 8fc1c10f0b57f21e4ec8ada240fe9dee3442b71a Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Wed, 13 Jul 2022 08:42:26 +0530 Subject: [PATCH] fix: always send key bundle with retry receipt --- src/Socket/messages-recv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socket/messages-recv.ts b/src/Socket/messages-recv.ts index 6b863376e37..9974a5c0fd7 100644 --- a/src/Socket/messages-recv.ts +++ b/src/Socket/messages-recv.ts @@ -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({