Commit graph

57 commits

Author SHA1 Message Date
Audric Ackermann
fd18345c5a
remove handling of rss related things completely 2021-01-19 16:11:33 +11:00
Audric Ackermann
72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann
979a9058e3
remove verified number - related features (partial) 2021-01-18 10:35:16 +11:00
Audric Ackermann
cbd0e63641
add admin dialog to warn him about leaving for v2 closed group 2021-01-13 11:02:22 +11:00
Audric Ackermann
d43ae09eb0
first working version of closed group v2 2021-01-12 16:56:21 +11:00
Audric Ackermann
2fe6b11e89
move ConversationController to typescript 2021-01-06 14:26:53 +11:00
Audric Ackermann
0a4cae4183
fix duplicates message for open groups 2020-12-17 15:07:32 +11:00
Audric Ackermann
6b56f1174e search for duplicates using the sent_at timestamp to speedup db call 2020-12-15 17:15:25 +11:00
Audric Ackermann
cf25e89a14 cleanup unused code 2020-12-15 17:14:18 +11:00
Audric Ackermann
4026e0162e fix a bug preventing fitlering of duplicates for open group messages 2020-12-15 10:45:34 +11:00
Audric Ackermann
209fe460e4
lint and fix toast blur when dialog shwon 2020-11-10 14:55:10 +11:00
Audric Ackermann
357421f161
rename window.console.log to window.log.info 2020-11-09 14:28:02 +11:00
Audric Ackermann
e613613416
show toast with react-toastify and make them a styled-component 2020-11-09 11:25:57 +11:00
Audric Ackermann
6fd8ea20c7
fix restoring of session after restore from seed 2020-11-06 14:44:04 +11:00
Audric Ackermann
dad9e5297c
make the last seen indicator work as expected 2020-11-02 14:03:11 +11:00
Audric Ackermann
026a1930ed
add a getOrThrow to ConversationController when we expect this convo 2020-10-15 17:19:49 +11:00
Audric Ackermann
144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
2020-10-15 16:43:51 +11:00
Audric Ackermann
4505bed61b
add migration to drop existing textsecure prefix from group convo ids 2020-09-22 08:58:21 +10:00
Audric Ackermann
86b15328c1
drop the prefix for group on the incoming message object 2020-09-21 15:59:56 +10:00
Audric Ackermann
8326870b1a
use senderIdentity for incoming messages on mediumGroups 2020-09-18 15:44:17 +10:00
Audric Ackermann
1da4ae69c2
render NoteToSelf list item as a normal conversation 2020-09-10 15:52:36 +10:00
Audric Ackermann
a0e437ab87
fix ordering of our own message on message pulled from server 2020-10-08 14:29:36 +11:00
Audric Ackermann
76664d9a11
use created_at for public group to order messages 2020-09-04 15:26:26 +10:00
Audric Ackermann
cd686269cb
use server created_at timestamp to order messages
Also update the way we check for duplicated message to allow a 10s
window with the same body rather than an exact match of timestamp.

This is needed as the timestamp of the message pulled is now the one of
the creation of the server, and not the same we have locally (sent at).
2020-09-02 12:09:23 +10:00
Maxim Shishmarev
cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 2020-07-23 15:39:46 +10:00
Maxim Shishmarev
87144336b7 Large refactor of medium groups. Fixes them for multidevice 2020-07-22 17:41:21 +10:00
Audric Ackermann
ae6db8640a
Merge pull request #1273 from Bilb/fix-showing-secondary-conversation-sync 2020-07-20 11:36:57 +10:00
Audric Ackermann
dd3080d9fe
mark conversation as secondary on message synced when needed 2020-07-20 09:46:05 +10:00
Audric Ackermann
a17edd0ce9
enable back delivery Receipt and read receipt message 2020-07-16 15:54:17 +10:00
Audric Ackermann
3775a9ef05
drop empty synced message (or autoFR) 2020-07-16 11:41:09 +10:00
Audric Ackermann
17cae3937d
drop synced message with the autoFR content 2020-07-15 16:34:24 +10:00
Audric Ackermann
598d6d1010
drop auto fr messages 'Please Accept... ' 2020-07-15 14:32:05 +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
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
2020-07-09 17:23:51 +10:00
Mikunj
f48e10fccd Fix profile keys not being decoded properly 2020-07-09 13:55:47 +10:00
Audric Ackermann
880e039652
handle grantSignature undefined 2020-07-09 10:28:10 +10:00
Audric Ackermann
d8df91fa15
use the groupId as conversation id to create a conversation when this is a group 2020-07-09 09:05:44 +10:00
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)
2020-07-08 11:29:08 +10:00
Audric Ackermann
696fbd8d7a
address review 2020-07-08 11:14:54 +10:00
Audric Ackermann
bd67040086
handle empty group id after decoding and set it to null 2020-07-08 10:13:21 +10:00
Maxim Shishmarev
ccc487528d Fix edkey extraction 2020-07-07 15:34:56 +10:00
Audric Ackermann
0366f29473
fix expiretimer on closed groups message showing on session conversation 2020-07-07 14:33:47 +10:00
Audric Ackermann
a02aa75f1f
Merge remote-tracking branch 'upstream/clearnet' into various-closed-group-fixes 2020-07-07 14:17:57 +10:00
Audric Ackermann
bfd19af04d
use MultiDeviceProtocol.isOurDevice when possible 2020-07-07 13:34:36 +10:00
Audric Ackermann
15b8600e25
fix display name and avatar not being updated when message from secondary 2020-07-07 13:30:25 +10:00
Audric Ackermann
235ab0bfb3
create convo for both primary and secondary in receivemessage 2020-07-06 16:08:11 +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
2d5230715f Merge branch 'clearnet' into closed-group-fixes 2020-07-03 14:06:12 +10:00
Mikunj
c422c9e2ad Lint 2020-07-03 13:59:14 +10:00
Mikunj
269c87a42e Fix closed group issues 2020-07-03 13:21:33 +10:00