Closed CharlesOkwuagwu closed 9 years ago
I believe this is correct. We're pushing onto the array of agreements. It is an array of ArrayBuffer
s. The one time pre key is the 4th and final agreement.
See https://github.com/WhisperSystems/libaxolotl-android/blob/master/java/src/main/java/org/whispersystems/libaxolotl/ratchet/RatchetingSession.java#L89 for comparison.
I have confirmed that my implementation does indeed establish a session correctly with other implementations.
ok cool
SessionFactory line 151:
Should it be a agreements.push or agreements.concat ?
Are you adding to the end of agreements or the beginning?
Please compare with other implementations.