[367] provide socket id to `safetyNumber.trust` calls
- BUG: fingerprint update calls fail,
safetyNumber.trust
throwsTypeError: Cannot read property 'acquire' of undefined
- CAUSE:
trust
callssocket.write
which now requires asocketId
, but it does not provide one, thuswrite
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