Commit Graph

74 Commits (9be0dcabd9297fb80ffc6798b3192ebe688f21e7)

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
Audric Ackermann d92bf6febf
Merge pull request #1229 from Bilb/fix-open-groups-ui
* fix sync of closed groups
* fix showing of contacts and closed groups after sync
* create closed group: only show direct conversations 
* handle message sending events for open groups
5 years ago
Audric Ackermann f03d66de38
use active_at to show and sync real contacts from contact list 5 years ago
Mikunj f48e10fccd Fix profile keys not being decoded properly 5 years ago
Audric Ackermann 880e039652
handle grantSignature undefined 5 years ago
Audric Ackermann d8df91fa15
use the groupId as conversation id to create a conversation when this is a group 5 years ago
Audric Ackermann 3fa54c3ef9
Merge pull request #1226 from Bilb/various-closed-group-fixes 5 years ago
Audric Ackermann db1a133c25
drop an expiretimer message with the same timer already on use 5 years ago
Audric Ackermann d5cfcf9edc
Merge pull request #1223 from Bilb/various-closed-group-fixes
* fix display name and avatar to be shown when message is coming from a secondary device
* fix show of expiretimer in the group conversation when it is for it.
* fix a bug creating empty conversation when sync closed group message is received on secondary device
* trigger an expiretimer update message to all members when updating a group.
* trigger an expiretimer update message when sending back group details (after a requestGroupInfo)
5 years ago
Audric Ackermann 696fbd8d7a
address review 5 years ago
Maxim Shishmarev a2b80a5e68 Address review comments 5 years ago
Audric Ackermann bd67040086
handle empty group id after decoding and set it to null 5 years ago
Maxim Shishmarev ae35626b35
Merge pull request #1221 from msgmaxim/ts-onion-requests
Move onion requests to typescript
5 years ago
Mikunj Varsani f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
Fix up Blocking
5 years ago
Maxim Shishmarev ccc487528d Fix edkey extraction 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
Audric Ackermann 0366f29473
fix expiretimer on closed groups message showing on session conversation 5 years ago
Audric Ackermann a02aa75f1f
Merge remote-tracking branch 'upstream/clearnet' into various-closed-group-fixes 5 years ago
Audric Ackermann bfd19af04d
use MultiDeviceProtocol.isOurDevice when possible 5 years ago
Audric Ackermann 15b8600e25
fix display name and avatar not being updated when message from secondary 5 years ago
Mikunj aa75205bbd Move BlockedNumberController to ts 5 years ago
Audric Ackermann 235ab0bfb3
create convo for both primary and secondary in receivemessage 5 years ago
Audric Ackermann 2257420523
ignore other empty buffers which should be null after protobuf decode 5 years ago
Mikunj Varsani 26e3eca1a2
Merge pull request #1215 from Mikunj/session-restoration
Automatically restore session on no record error
5 years ago
Mikunj 8f82e7a442 Fix multi device pairing 5 years ago
Mikunj f33897abe2 Automatically restore session on no record error 5 years ago
Mikunj 2d5230715f Merge branch 'clearnet' into closed-group-fixes 5 years ago
Mikunj c422c9e2ad Lint 5 years ago
Mikunj 269c87a42e Fix closed group issues 5 years ago
Mikunj 8d11660b13 Fix attachments 5 years ago
Maxim Shishmarev 7e737a3ccd Merge branch 'clearnet' into refactor-polling 5 years ago
Maxim Shishmarev 7dd9469074 Further improve imports 5 years ago
Audric Ackermann 7c89b291de
Merge pull request #1205 from Bilb/handle-message-sending-events 5 years ago
Maxim Shishmarev b31b6bb912 Lint 5 years ago
Maxim Shishmarev 255c7ada68 More clean up in message_receiver.js 5 years ago
Maxim Shishmarev 6fcc1f7ae4 Merge branch 'clearnet' into refactor-polling 5 years ago
Audric Ackermann bbebfa4c7e
remove fixed comments 5 years ago
Audric Ackermann f3ae798b12
remove SESSION_REQUEST flag from DataMessage. now in envelope 5 years ago
Maxim Shishmarev 468ad9f71d Add more type annotations 5 years ago
Mikunj 23b05107fb Fix closed group infinite request loop 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
Mikunj 225d7f84e4 Fix declaration file names 5 years ago
Audric Ackermann 1b011ca74e
fix groupUpdate including an empty kicked field 5 years ago
Audric Ackermann 39bad87a18
updateMediumGroup replaced with new pipeline 5 years ago
Audric Ackermann 6a13839d9d
address reviews 5 years ago
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago