Commit Graph

12 Commits (a121dd669487ebc4d5c9dff2e9453a331ddab5fa)

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 3ea0689d2f Linting 5 years ago
Audric Ackermann 73e15250d7
Merge remote-tracking branch 'upstream/clearnet' into integration-test-logs-rebased 5 years ago
Audric Ackermann 03757ba2ca
lint 5 years ago
Audric Ackermann 255616ff8f
fix integration-tests 5 years ago
Audric Ackermann 2b1ecedc9c
fix message syncing test integration title 5 years ago
Audric Ackermann e399b9b65b
lint 5 years ago
Audric Ackermann 9c2ec60f3a
test: add a sync message test with log checking 5 years ago
Vincent 5eb49764b3 lint 5 years ago
Vincent 958a4c8594 Linted 5 years ago
Vincent 0c935b66f2 deleting messages init 5 years ago
Vincent 9d7d3bbe6e message functions init 5 years ago