Commit Graph

13 Commits (fc24df00fb4c232ae7a443f29e677bde1fc1f383)

Author SHA1 Message Date
Audric Ackermann 135fc3b366
remove prekeys 4 years ago
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
4 years ago
Mikunj 646973e330 Made changes to how messages are sent.
Instead of blocking the message queue when we don't have a session, we instead just send out a session request and send the queued messages using fallback encryption.
This means that users will be able to message right away without having to wait.
The only down side is that all messages sent before sessions are established will be using the weaker encryption.

This change also means we have to detach session requests from envelope type (which is a good thing) and thus now a message is a session request if it contains a preKeyBundle.
5 years ago
Mikunj d862269f8d Update tests 5 years ago
Mikunj 3f93b25ac2 Added string utils 5 years ago
Audric Ackermann d1518f8233
add new handling of session request message 5 years ago
Audric Ackermann f17ffd295a
Merge remote-tracking branch 'upstream/clearnet' into message-sending-refactor 5 years ago
Mikunj f279f47b35 Fix other declaration files 5 years ago
Mikunj 653efaf9cf Fixed libsignal-protocol declaration 5 years ago
Audric Ackermann dc00923f17
add SessionProtocol test 5 years ago
Mikunj 41fa167e79 Improve typings for LibsignalProtocol 5 years ago
Mikunj 21e2469b75 Add more tests 5 years ago
Mikunj 4704893649 Refactor 5 years ago