Commit graph

145 commits

Author SHA1 Message Date
warrickct
8a8a5ca82c removing pubkey from message request response. 2022-02-11 14:47:24 +11:00
warrickct
cdeac8f424 Adding protobuf changes for message request response. 2022-02-04 13:43:04 +11:00
audric
8cec9c61b7 remove thumbnail from protobuf as it is unused on all platforms 2022-01-12 19:15:52 +11:00
warrickct
4576f3cb32 Merge branch 'clearnet' into message-requests 2021-11-24 16:25:07 +11:00
warrickct
86a9253144 Merge branch 'clearnet' into message-requests 2021-11-22 17:24:53 +11:00
Audric Ackermann
80566fd60e
cleanup sessionprotobuf 2021-11-19 10:46:45 +11:00
Warrick Corfe-Tan
c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 2021-11-04 14:47:47 +11:00
Audric Ackermann
8618cf75e9
send and handle uuid for multi device calls 2021-11-04 11:36:39 +11:00
Warrick Corfe-Tan
9e0f128fc6 Adding isApproved field to protobuf. 2021-10-27 10:36:22 +11:00
Audric Ackermann
c803cdaa8e
add callMessage in protobuf 2021-09-21 11:09:39 +10:00
Warrick
1d459ba533
Unsend messages (only message hashes saving for now is enabled) (#1891)
* WIP unsending message.

* retrieving message with hash from db on receiving unsend request.

* outgoing messages hashes updated on message sent success

* unsend messaging

* unsend message - deleting messages and marking as isDeleted.

* add msg hash to unprocessed records.

* Message unsending working for closed groups provided the message has been updated with a hash from server.

* adding 2-stage confirmation modal for message deletion

* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.

* Adding logging

* debugging.

* outgoing only saved for sync message instead of regular message.

* deleting locally

* adding post unsend deletioncode.

* starting adding feature flag.

* Added feature flag.

* addding mandatory messageHash  pollling pipeline methods swarm polling.

* Conversation list item message preview showing deletion placeholder text if deleted.

* add condition to drop unsend requests not send by message author

* refactoring deleteMessage. Saving response hash for closed group message sending

* running yarn ready

* removing logging.

* Adding PR fixes

* Minor changes and running yarn ready

* fix typo

* Moved feature flag to lokiFeatureFlags. Fixing linting errors


Co-authored-by: Audric Ackermann <audric@loki.network>
2021-09-20 13:47:59 +10:00
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic 2021-06-15 10:12:43 +10:00
Audric Ackermann
c5287158c4
merge protobuf attachment and preview types 2021-06-10 12:27:03 +10:00
Audric Ackermann
03fe67b974
remove unused contact field on message 2021-06-10 09:58:30 +10:00
Audric Ackermann
c1225b3a74
made some timestamp required in the protobuf 2021-06-10 09:58:10 +10:00
Audric Ackermann
173b49723b
rename groupInvitation in proto and remove more stuff unused 2021-06-10 09:08:20 +10:00
Audric Ackermann
c090782919
remove UPDATE type of closed group control message 2021-06-10 09:00:54 +10:00
Audric Ackermann
f32919985d
remove Contact in proto (unused) 2021-06-10 08:57:54 +10:00
Audric Ackermann
01fd927070
match envelope type with ios protos 2021-06-10 08:55:25 +10:00
Audric Ackermann
37c9c6b5c3
new closed group send and handle expire timer already set 2021-06-09 11:49:19 +10:00
Audric Ackermann
b055165a5d
display a message when the recipient screenshots an attachemnt 2021-06-01 15:46:29 +10:00
Audric Ackermann
810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 2021-06-01 10:08:16 +10:00
Audric Ackermann
e10a3cd4a9
remove the channelId from groupInvitation 2021-05-07 15:01:15 +10:00
Audric Ackermann
a61f5e6814
add contacts to ConfigurationMessage 2021-02-25 12:50:23 +11:00
Audric Ackermann
0a82bf98fa
Add displayName and avatar pointer to ConfigurationMessage 2021-02-25 10:28:41 +11:00
Audric Ackermann
375c5ba1a8 add the request and reply of an encryptionKeyPair if needed 2021-02-10 17:45:11 +11:00
Audric Ackermann
64737a89d7
add ConfigurationMessage 2021-02-04 11:53:37 +11:00
Audric Ackermann
0e25ab2874
WIP 2021-01-29 11:29:42 +11:00
Audric Ackermann
999e6fc712
replace GroupUpdateV2 in proto to ClosedGroupControlMessage 2021-01-28 11:39:07 +11:00
Audric Ackermann
dc68c80504
fix refresh of moderator list and removed unused proto 2021-01-22 10:36:23 +11:00
Audric Ackermann
ec9bd4a3a9
remove unused proto files and ProvisioningCipher.js 2021-01-22 10:26:22 +11:00
Audric Ackermann
135fc3b366
remove prekeys 2021-01-21 17:49:07 +11:00
Audric Ackermann
d43ae09eb0
first working version of closed group v2 2021-01-12 16:56:21 +11:00
Audric Ackermann
9dbf190083
fix mismatches protobuf for senderkey type on mediun groups with android 2020-10-01 14:58:17 +10:00
Audric Ackermann
d4e9b43f0c
remove QUIT type of mediumgroupupdate 2020-09-30 10:14:19 +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
ec64ad80b4
rename LOKI_FRIEND_REQUEST to FALLBACK_MESSAGE 2020-09-14 12:15:22 +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
Mikunj
ea78445bb5 Fixup comments in proto file 2020-07-14 14:34:37 +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
Audric Ackermann
f3ae798b12
remove SESSION_REQUEST flag from DataMessage. now in envelope 2020-07-02 09:46:55 +10:00
Audric Ackermann
d1518f8233
add new handling of session request message 2020-06-11 11:43:58 +10:00
Maxim Shishmarev
abde96bc1e Fix medium group updates 2020-05-29 17:48:57 +10:00
Maxim Shishmarev
2a0130ff04 Multidevice support for medium groups 2020-05-29 17:47:39 +10:00
Maxim Shishmarev
61d4c7c349 Encrypt source for medium groups 2020-05-05 17:03:21 +10:00
Maxim Shishmarev
debb922521 Medium groups with sender keys essentials 2020-05-04 13:29:28 +10:00
Audric Ackermann
6d03a63d4a
add sync of open groups on device link 2020-02-21 15:32:31 +11:00
Mikunj
abf298ba25 Added sending of group sync message 2020-02-19 10:32:30 +11:00