Commit Graph

15 Commits (v1.1.2)

Author SHA1 Message Date
Maxim Shishmarev 237bd84b35 Fix medium group sending for single device users; protocol changes 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 Varsani f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
Fix up Blocking
5 years ago
Mikunj f008a8b3ef Always block the primary device instead of all devices.
Added isBlockedAsync function.
5 years ago
Mikunj 2a1afa9fe7 Forgot checking for our own devices 5 years ago
Mikunj 3159baebfa Fix case where blocked user adds a new linked device. 5 years ago
Mikunj aa75205bbd Move BlockedNumberController to ts 5 years ago
Audric Ackermann 2257420523
ignore other empty buffers which should be null after protobuf decode 5 years ago
Mikunj 8f82e7a442 Fix multi device pairing 5 years ago
Maxim Shishmarev 7dd9469074 Further improve imports 5 years ago
Maxim Shishmarev 255c7ada68 More clean up in message_receiver.js 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 6295e4206d Clean up imports 5 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 5 years ago