session-desktop/ts/test/session/unit
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
..
attachments disable test for attachemnt read/write 2021-07-22 17:20:52 +10:00
crypto enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
messages enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
onion Fix path building (#1903) 2021-09-13 17:07:53 +10:00
padding enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
receiving enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
selectors Cleanup redux store (#1925) 2021-09-17 16:41:04 +10:00
sending Unsend messages (only message hashes saving for now is enabled) (#1891) 2021-09-20 13:47:59 +10:00
swarm_polling fix tests for swarm polling 2021-08-13 14:51:15 +10:00
utils use timestamp offset in for messages storage requests (#1892) 2021-09-16 14:48:46 +10:00