You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
set the registrationId of the message to be posted. This should be the sender's ID, and the ID in the session is, AFAIK, always the remote ID, which in this case is the recipient. So I think these lines should be using the value myRegistrationId like in
As I understand, this is the message that the recipient is going to receive, and this information is given to allow them to instantiate a SessionCipher. Is this not the case?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I believe there is an error when building the message to be sent in
SessionCipher::encrypt
.libsignal-protocol-javascript/src/SessionCipher.js
Line 112 in f5a838f
libsignal-protocol-javascript/src/SessionCipher.js
Line 119 in f5a838f
set the
registrationId
of the message to be posted. This should be the sender's ID, and the ID in the session is, AFAIK, always the remote ID, which in this case is the recipient. So I think these lines should be using the valuemyRegistrationId
like inlibsignal-protocol-javascript/src/SessionCipher.js
Line 99 in f5a838f
Or am I just missing something?
The text was updated successfully, but these errors were encountered: