Commit Graph

281 Commits (3aa9ca785f230720ffc3ee90e6a0fa8fdf72e62d)

Author SHA1 Message Date
Audric Ackermann e6e179b45b
Merge branch 'clearnet' into drop-auto-fr-messages 5 years ago
Audric Ackermann 0c8e34a78e
remove envelope from cache if sentMessage is empty 5 years ago
Audric Ackermann 17cae3937d
drop synced message with the autoFR content 5 years ago
Audric Ackermann 598d6d1010
drop auto fr messages 'Please Accept... ' 5 years ago
Audric Ackermann 45cdbcbb2f
handle sync of blocked contact/groups as sync events 5 years ago
Audric Ackermann 66697bc235
remove unused addBlockedGroup function since we moved to controller
for blocked group
5 years ago
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
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
Audric Ackermann aa797f6670
various changes to be reverted. kind of working session chats only. 5 years ago
Audric Ackermann cf7635428a
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Audric Ackermann bd940a9f79
add groupUpdate message and groupInfo to new pipeline 5 years ago
Audric Ackermann b0ed0207e0
fix one to one (session) chats with just the body set 5 years ago
Audric Ackermann 029851400d
include endSession message with new pipeline 5 years ago
Mikunj b85348569b Merge branch 'clearnet' into folder-restructure 5 years ago
Audric Ackermann 908316f00d
update ReadReceiptMessage and DeliveryReceiptMessage to new pipeline 5 years ago
Maxim Shishmarev 7fe6583608 Fix incorrect conversation id for incoming open group messages 5 years ago
Audric Ackermann fbba5575ba
remove buildSessionRequest message 5 years ago
Audric Ackermann 6e1258e3d1
expirationTimerUpdate uses new sending pipeline 5 years ago
Audric Ackermann 34cec0be34
RequestGroupInfo via new pipeline 5 years ago
Vincent 99674ed2ba Fixup PubKey.isEqual 5 years ago
Audric Ackermann 4865b72e93
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Audric Ackermann fc7daadd41
updte profile of primary conversation when updating the secondary conversation 5 years ago
Audric Ackermann 417634086a
ignore public group on preprocessGroupMessage 5 years ago
Audric Ackermann 28fb1dd12a
address PR reviews 5 years ago
Mikunj c027490d2f Merge fixes 5 years ago
Audric Ackermann eb9a838af1
remove friends from UI logic 5 years ago
Audric Ackermann bccdc3cf34
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Mikunj ae44f0da0f Remove old multi device functions 5 years ago
Mikunj 7b7d8c0e2a Remove multi device from libloki 5 years ago
Maxim Shishmarev b98543a9fc Fix enum in a definition type 5 years ago
Maxim Shishmarev eb280ec1e4 Move model definition files 5 years ago
Maxim Shishmarev 8ca7b8cfb4 Message receiving refactor: handleDataMessage onwards 5 years ago