Skip to content

[367] provide socket id to `safetyNumber.trust` calls

  • BUG: fingerprint update calls fail, safetyNumber.trust throws TypeError: Cannot read property 'acquire' of undefined
  • CAUSE: trust calls socket.write which now requires a socketId, but it does not provide one, thus write is unable to retrieve the socketPool to which it is supposed to write (and tries to index into the array of pools with undefined, which throws)
  • FIX: provide the channel's socket id in all calls to trust

side-effect:

  • fix typo: socketPooldId => socketId

Closes #367 (closed)

Edited by aguestuser

Merge request reports

Loading