-
Notifications
You must be signed in to change notification settings - Fork 69
Media deletion Feature #192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dashadev
Are you sure you want to change the base?
Conversation
…tation for sending messages to users if they delete a message containing media
… media, added comments
|
This is going to be amazing. I'm here at your service 🫡 |
|
Aww, thank you! You're the best 💜 if I need something I'll message you :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should be able to remove that clippy rule again since we increased that in the clippy.toml
|
I've had ongoing discussions with @tototomate123 and we have decided this feature and the underlying infrastructure is not quite ready for the impending release. As a consequence we will not even be calling the next release 1.5.0. Development will resume at the beginning of the next cycle instead. |
|
As for now: is there any way to cleanup stale media of already deleted messages? 🙌 |
This PR implements a media retention and cleanup system with full encrypted room support, featuring CBOR-based storage, a reaction-based UI, and automatic media lifecycle management.
PR is ready for review! Over the last 5 days, Ive replaced the background retention worker with an event-driven architecture that hooks directly into timeline events. When users delete messages containing media, the notifications they receive in their user rooms now include a ♻️ "save preference" option, that will always delete media for redacted messages in un- or encrypted chats, giving them immediate control over media cleanup.
All of this is configurable via the tuwunel configuration file.
Key Files
src/service/media/retention.rs- CBOR storage & retention logicsrc/service/media/mod.rs- Notifications & reactionssrc/service/userroom/mod.rs- User admin messagingsrc/service/rooms/timeline/append.rs- Event processing fixes