Commit Graph

16 Commits (646973e3301c6e268e765cb8abd61b8ad896d329)

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 b85348569b Merge branch 'clearnet' into folder-restructure 5 years ago
Mikunj 8f492f8e74 Review changes 5 years ago
Mikunj 3bf5796cd5 Modify periodic check implementation 5 years ago
Mikunj d862269f8d Update tests 5 years ago
Vincent 20b2ba1c8a generateMemberList-compactify 5 years ago
Vincent 48e3ded9d2 review changes 5 years ago
Vincent 728b43be9e cache-pull-from-db-finish 5 years ago
Vincent b203dc4493 Finalized cache 5 years ago
Vincent afcbf7049e linted 5 years ago
Vincent bbfa6499e0 Stubbed cache 5 years ago
Vincent fb4c6fb387 testing stubs 5 years ago
Vincent b8ec9bd995 Typify PubKey 5 years ago
Vincent a9d9303449 Prep for pull 5 years ago
Vincent a5cfbd584b linted 5 years ago
Vincent dec7aa10c8 Revert pulls 5 years ago