Commit Graph

14 Commits (9b2f11b86001747e93106e201f66c79261d8f4b0)

Author SHA1 Message Date
Maxim Shishmarev 9b2f11b860 Use stub instead of replace 5 years ago
Maxim Shishmarev 3faa4f71f3 Fix unit tests 5 years ago
Vincent ca96992a44 Pukbeyified 5 years ago
Vincent 68f2a90f7c pubkeys-in-message-encryptor-init 5 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 d4ea483aa0 Filter invalid authorisations from the file server 5 years ago
Audric Ackermann 7a797737e0
rename SessionReset -> SessionRequest 5 years ago
Audric Ackermann dc00923f17
add SessionProtocol test 5 years ago
Mikunj 863c6da772 Add util to wrap window stubs 5 years ago
Mikunj 21e2469b75 Add more tests 5 years ago
Mikunj 4704893649 Refactor 5 years ago
Mikunj 2e02e7d67b Linting 5 years ago
Mikunj cd58e9b86e Add utils for stubbing.
Added ImportMock for easier es6 stubbing.
5 years ago
Mikunj 736cbc06da Add tests 5 years ago