Skip to content

Commit

Permalink
fix: always send key bundle with retry receipt
Browse files Browse the repository at this point in the history
  • Loading branch information
adiwajshing committed Jul 13, 2022
1 parent 40a1e26 commit 8fc1c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Socket/messages-recv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 8fc1c10

Please sign in to comment.