Commit Graph

15 Commits (b0a229bf13d2dc262f20c9389bb8af7b0b214d74)

Author SHA1 Message Date
Audric Ackermann f28dfe5a94 use fallbacks for message even if we have a session with the device 4 years ago
Audric Ackermann a80f9a5965
fix medium group to match mobile way 5 years ago
Maxim Shishmarev f6223ce5ab Use message queue for medium group chat messages 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
Audric Ackermann 9ec0c8e6a8
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Audric Ackermann d946678d59
fix encryption type for rawMessage 5 years ago
Vincent dbc44cb78b Merge branch 'open-group-class' into message-queue-test 5 years ago
Vincent 2be1c2fd94 groups-test 5 years ago
Vincent 6c35f3c773 optimized OpenGroup 5 years ago
Vincent 83f70f1ff0 OpenGroup class and sending to Groups 5 years ago
Vincent fb903daf20 sync msgs 5 years ago
Vincent 80bc3520bd queue 5 years ago
Vincent b203dc4493 Finalized cache 5 years ago
Vincent afcbf7049e linted 5 years ago
Vincent b8ec9bd995 Typify PubKey 5 years ago