Commit Graph

130 Commits

Author SHA1 Message Date
Audric Ackermann 357421f161
rename window.console.log to window.log.info 2020-11-09 14:28:02 +11:00
Audric Ackermann 6fd8ea20c7
fix restoring of session after restore from seed 2020-11-06 14:44:04 +11:00
Audric Ackermann 144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
2020-10-15 16:43:51 +11:00
Audric Ackermann 2f8f79c5d2
make message clearer when we try to reuse a keyIdx in the ratchet 2020-10-05 12:56:39 +11:00
Audric Ackermann e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members 2020-10-01 16:13:26 +10:00
Audric Ackermann a80f9a5965
fix medium group to match mobile way 2020-10-01 15:12:51 +10:00
Audric Ackermann 8326870b1a
use senderIdentity for incoming messages on mediumGroups 2020-09-18 15:44:17 +10:00
Audric Ackermann 514eb9ba98
fix pubkey regex for mobile medium groups 2020-09-17 19:46:06 +10:00
Audric Ackermann 215c964fab
fix padding for medium group 2020-09-17 19:36:58 +10:00
Audric Ackermann 8123508b51
fix avatar closed group and pubkey for medium mobile groups 2020-09-17 19:36:46 +10:00
Audric Ackermann 04063cd0fb
make medium group pubkey be in bytes rather than str 2020-09-15 09:04:10 +10:00
Audric Ackermann 7054268b14
use source from decoded content and not envelope on ssk 2020-09-14 12:15:22 +10:00
Audric Ackermann 89579ebd35
refactor SessionPasswordModal to handle errors on length 2020-07-30 10:58:17 +10:00
Audric Ackermann 582499be25
do not drop group control message from blocked user 2020-07-30 08:42:31 +10:00
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 2020-07-22 17:41:21 +10:00
Maxim Shishmarev 237bd84b35 Fix medium group sending for single device users; protocol changes 2020-07-10 17:59:33 +10:00
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.
2020-07-10 10:00:21 +10:00
Mikunj Varsani f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
Fix up Blocking
2020-07-07 15:51:59 +10:00
Mikunj f008a8b3ef Always block the primary device instead of all devices.
Added isBlockedAsync function.
2020-07-07 15:31:59 +10:00
Mikunj 2a1afa9fe7 Forgot checking for our own devices 2020-07-07 14:47:14 +10:00
Mikunj 3159baebfa Fix case where blocked user adds a new linked device. 2020-07-07 14:41:37 +10:00
Mikunj aa75205bbd Move BlockedNumberController to ts 2020-07-07 10:24:24 +10:00
Audric Ackermann 2257420523
ignore other empty buffers which should be null after protobuf decode 2020-07-06 14:07:37 +10:00
Mikunj 8f82e7a442 Fix multi device pairing 2020-07-06 11:53:52 +10:00
Maxim Shishmarev 7dd9469074 Further improve imports 2020-07-02 15:02:32 +10:00
Maxim Shishmarev 255c7ada68 More clean up in message_receiver.js 2020-07-02 12:32:13 +10:00
Maxim Shishmarev 468ad9f71d Add more type annotations 2020-07-01 16:20:54 +10:00
Maxim Shishmarev e2b5b6654b Clean up more imports 2020-07-01 12:13:01 +10:00
Maxim Shishmarev 6295e4206d Clean up imports 2020-07-01 11:23:33 +10:00
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 2020-06-30 18:10:35 +10:00