Commit Graph

5 Commits (358665c182fa5ea3744a89f8b5601b112e7be841)

Author SHA1 Message Date
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
Audric Ackermann f500fed69c
rename missing envelope type FR to SESSION_REQUEST 5 years ago
Mikunj 50ff635673 Fix fallback session cipher test 5 years ago
Mikunj 6bd2d3962e Linted files 6 years ago
Mikunj f9147663d5 Updated tests.
Removed libloki-protocol.
6 years ago