Commit Graph

6 Commits (20a286d2880fb39c0e775be86f6dc3d298644686)

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
Mikunj 8f82e7a442 Fix multi device pairing 5 years ago
Maxim Shishmarev 468ad9f71d Add more type annotations 5 years ago
Maxim Shishmarev e2b5b6654b Clean up more imports 5 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 5 years ago
Maxim Shishmarev 8ca7b8cfb4 Message receiving refactor: handleDataMessage onwards 5 years ago