joebandenburg / libaxolotl-javascript

A JavaScript implementation of axolotl. Axolotl is a ratcheting forward secrecy protocol.
GNU Lesser General Public License v3.0
75 stars 13 forks source link

You can eliminate the extra call to Messages.decodePreKeyWhisperMessage(preKeyWhisperMessageBytes) #9

Closed CharlesOkwuagwu closed 9 years ago

CharlesOkwuagwu commented 9 years ago

You can eliminate the extra call to Messages.decodePreKeyWhisperMessage(preKeyWhisperMessageBytes)

Since Axolot.decryptPreKeyWhisperMessage now calls sessionFactory.createSessionFromPreKeyWhisperMessage(session, preKeyWhisperMessageBytes) directly