Audric Ackermann
53433261d9
remove outgoing_message.js and everything related to it
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
aa635e9cd3
trigger opengroup sync when joining an open group
5 years ago
Audric Ackermann
935d26a41b
add missing window import to decode group sync message
5 years ago
Mikunj
8d11660b13
Fix attachments
5 years ago
Maxim Shishmarev
7e737a3ccd
Merge branch 'clearnet' into refactor-polling
5 years ago
Maxim Shishmarev
255c7ada68
More clean up in message_receiver.js
5 years ago
Maxim Shishmarev
0904e7a8ca
Refactor from message polling to content message handling
5 years ago
Audric Ackermann
fb7e13acb0
lint
5 years ago
Audric Ackermann
6a91d44e08
pass the db id to our messagesender message and clean a few files
5 years ago
Audric Ackermann
24f86de087
use SyncMessage when we are only sending a syncMessage
5 years ago
Audric Ackermann
8b4e69739d
adress review
5 years ago
Audric Ackermann
9941c12586
finish adding mediumGroupUpdates
5 years ago
Audric Ackermann
23d22622ca
remove unused methods on sendMessage.js
5 years ago
Audric Ackermann
39bad87a18
updateMediumGroup replaced with new pipeline
5 years ago
Audric Ackermann
df028b7ac6
remove sendMessage()
5 years ago
Audric Ackermann
c5cf7f395f
remove sendMessageToNumber and sendMessageToGroup
5 years ago
Audric Ackermann
fea75de3fe
make the sessionEstablishedMessage nullMessage have some random content
5 years ago
Audric Ackermann
d114b6c130
add verifierSyncMesage and syncReadMessages
5 years ago
Audric Ackermann
e38ea17e21
paste sessionEstablishedMessage whenever needed
5 years ago
Audric Ackermann
655cc0575e
add sync of closed groups/open groups/ contacts with new pipeline
5 years ago
Audric Ackermann
aee7428282
remove non used function in session from sendMessage.js
5 years ago
Audric Ackermann
6a13839d9d
address reviews
5 years ago
Audric Ackermann
cadc92ee7a
lint
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
77025d1afd
adress review
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
c783e14a86
move sync request messages types to new pipeline
5 years ago
Audric Ackermann
6380f7426f
fix pairing devices bugs since move to new pipeline
5 years ago
Audric Ackermann
029851400d
include endSession message with new pipeline
5 years ago
Audric Ackermann
908316f00d
update ReadReceiptMessage and DeliveryReceiptMessage to new pipeline
5 years ago
Audric Ackermann
e0979fc4a5
add RequestContactSyncMessage and RequestGroup and RequestConfiguration messages to new pipeline
5 years ago
Audric Ackermann
9c1f0e76fd
add RequestContactSyncMesage
5 years ago
Audric Ackermann
fbba5575ba
remove buildSessionRequest message
5 years ago
Audric Ackermann
1fe0e3a815
remove sendBackgroundMessage
5 years ago
Audric Ackermann
6e1258e3d1
expirationTimerUpdate uses new sending pipeline
5 years ago
Audric Ackermann
ff7ca5a0d5
add leave of closed group to new sending pipeline
5 years ago
Audric Ackermann
34cec0be34
RequestGroupInfo via new pipeline
5 years ago
Audric Ackermann
439ea09027
lint
5 years ago
Audric Ackermann
e43dc734de
TypingMessage sent with new sending pipeline
5 years ago
Audric Ackermann
12bb6673ea
fix session requests
5 years ago
Audric Ackermann
0a2af13cb1
start of fix of session-request processing
5 years ago
Audric Ackermann
c947d99369
getMessageQueue() rather than .messageQueue to avoid startup issue
5 years ago
Audric Ackermann
b42bc05270
replace unlink message
5 years ago
Audric Ackermann
2e78f755b4
replace sending of established, grant and link request messages
5 years ago
Audric Ackermann
4865b72e93
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic
5 years ago
Audric Ackermann
28fb1dd12a
address PR reviews
5 years ago
Audric Ackermann
eb9a838af1
remove friends from UI logic
5 years ago