fix: always send key bundle with retry receipt

This commit is contained in:
Adhiraj Singh
2022-07-13 08:42:26 +05:30
parent 40a1e268aa
commit 8fc1c10f0b

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({