Commit graph

98 commits

Author SHA1 Message Date
Audric Ackermann d4e9b43f0c
remove QUIT type of mediumgroupupdate 2020-09-30 10:14:19 +10:00
Audric Ackermann 53a14a0b60
add prefix to ExpirationTimerUpdateMessage for closed group too 2020-09-25 10:53:21 +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 ff1c554e8a
make MediumGroupChatMessage share impl with ClosedGroupChatMessage 2020-09-15 09:40:50 +10:00
Maxim Shishmarev d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
Medium group protocol changes
2020-07-28 14:23:58 +10:00
Audric Ackermann ad24ad28d6
Merge pull request #1284 from Bilb/fix-ttl-ugly-hack 2020-07-27 16:52:48 +10:00
Audric Ackermann 394030b711
remove getDefaultTTL and use Constants values instead 2020-07-24 15:37:28 +10:00
Audric Ackermann 3e23039adb
do not sync blocked closed group as mobile is not ready yet 2020-07-23 16:15:34 +10:00
Maxim Shishmarev cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 2020-07-23 15:39:46 +10:00
Audric Ackermann d2a4757061
trigger and handle blocked contacts/groups as a list on block/unblock 2020-07-23 10:53:24 +10:00
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 2020-07-22 17:41:21 +10:00
Audric Ackermann edc34649a4
Merge pull request #1241 from Bilb/fix-our-profile-picture-change 2020-07-14 13:08:16 +10:00
Audric Ackermann 3fd260b793
enforce type of profileKey and signature on linking messages 2020-07-14 11:27:19 +10:00
Vincent 5216cc2c2e merge clearnet 2020-07-14 11:16:36 +10:00
Vincent c020eddef6 constants-to-ts 2020-07-14 11:06:26 +10:00
Maxim Shishmarev d747249d4f Merge branch 'clearnet' into revive-medium-groups 2020-07-13 12:44:17 +10:00
Audric Ackermann a4fedaf75d
fix empty avatar being undefined rather than ''
building ClosedGroupUpdate message via ts makes it have an avatar
content with fields empty if we pass '' as avatar.

we wamt no avatar field at all
2020-07-13 09:07:52 +10:00
Maxim Shishmarev 237bd84b35 Fix medium group sending for single device users; protocol changes 2020-07-10 17:59:33 +10:00
Audric Ackermann ed48818867
include old avatar and expireTimer on groupUpdate 2020-07-06 17:07:55 +10:00
Mikunj 669648d9cb Fix expire timer 2020-07-03 16:38:50 +10:00
Mikunj c422c9e2ad Lint 2020-07-03 13:59:14 +10:00
Mikunj fd547941d6 Fix sync message issue 2020-07-03 13:57:08 +10:00
Audric Ackermann 0474e84b19
fix profileKey sharing and avatar 2020-07-02 09:49:12 +10:00
Audric Ackermann c95bf57b28
Merge remote-tracking branch 'upstream/clearnet' into handle-message-sending-events 2020-07-01 11:44:59 +10:00
Mikunj 7b355dae78 Fix grunt 2020-07-01 08:35:07 +10:00
Mikunj 4a3188bbf9 minor fixes 2020-06-30 16:03:35 +10:00
Mikunj d4dc8aa2ed remove SyncMessageUtils.from 2020-06-30 15:28:53 +10:00
Mikunj a972c328c7 Change how sync messages are handled 2020-06-30 14:52:09 +10:00
Audric Ackermann c419ff9cd2
include display name in outgoing messages 2020-06-29 15:37:27 +10:00
Mikunj fbbbadada5 Merge branch 'clearnet' into attachments 2020-06-29 13:14:35 +10:00
Audric Ackermann 5f2990d088
Merge pull request #1197 from Bilb/other-messages-new-sending 2020-06-29 02:34:29 +01:00
Mikunj 13811233b6 Add session request expiry checks 2020-06-26 14:36:16 +10:00
Audric Ackermann 9941c12586
finish adding mediumGroupUpdates 2020-06-26 13:53:33 +10:00
Mikunj b69ad7db16 Add attachment util 2020-06-26 11:58:05 +10:00
Audric Ackermann 39bad87a18
updateMediumGroup replaced with new pipeline 2020-06-26 11:08:27 +10:00
Audric Ackermann a43abfd436
move groupContextType to sub classes of Closedgroup 2020-06-26 10:56:53 +10:00
Audric Ackermann b07b195102
Merge remote-tracking branch 'upstream/clearnet' into other-messages-new-sending 2020-06-25 13:26:33 +10:00
Audric Ackermann 3b40837ffc
address Pr review 2020-06-25 12:35:02 +10:00
Audric Ackermann cd79b5051c
move more logic to build sync message in ts for ContactSync and GroupSync 2020-06-25 12:21:12 +10:00
Audric Ackermann fea75de3fe
make the sessionEstablishedMessage nullMessage have some random content 2020-06-25 09:49:15 +10:00
Audric Ackermann d114b6c130
add verifierSyncMesage and syncReadMessages 2020-06-25 09:48:00 +10:00
Audric Ackermann 655cc0575e
add sync of closed groups/open groups/ contacts with new pipeline 2020-06-24 17:54:56 +10:00
Audric Ackermann aee7428282
remove non used function in session from sendMessage.js 2020-06-24 15:04:29 +10:00
Mikunj b52544e6ba Fix imports 2020-06-24 14:28:32 +10:00
Mikunj c2c56bb9b0 Handle typing and expiration messages when sending to group 2020-06-24 13:05:12 +10:00
Audric Ackermann 6a13839d9d
address reviews 2020-06-23 15:20:51 +10:00
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 2020-06-23 14:08:39 +10:00
Audric Ackermann aa797f6670
various changes to be reverted. kind of working session chats only. 2020-06-23 13:55:47 +10:00
Mikunj 53727b7e59 Update ClosedGroupChatMessage 2020-06-23 13:37:18 +10:00