This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Description
I believe there is an error when building the message to be sent in SessionCipher::encrypt.
|
registrationId : session.registrationId |
and
|
registrationId : session.registrationId |
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
|
preKeyMsg.registrationId = myRegistrationId; |
Or am I just missing something?