Plume icon indicating copy to clipboard operation
Plume copied to clipboard

Media not deleted after account deletion

Open newusername2022 opened this issue 4 years ago • 2 comments

I've noticed the media I uploaded is still in the media file on my server even after I deleted my test account. Is this an expected behavior? Is there a way to delete media files from users who deleted their accounts?

  • Plume version: 0.4.0
  • Operating system:
  • Web Browser:

newusername2022 avatar Aug 03 '20 16:08 newusername2022

i don't know if this is a "feature" or an unintended consequence of our programming

maybe @elegaanz or @trinity-1686a know?

igalic avatar Aug 04 '20 15:08 igalic

Looking at the code, there is nothing made to delete medias on user deletion (or after), but it should not be too difficult to implement (in plume-models/src/users.rs:User::delete) However keep in mind that you should not post things that you will want to delete latter anywhere on the fediverse : most servers maintain their own copies of medias, posts, toots... and won't necessarily delete them (due to bugs, transient network errors, or because of being malign)

trinity-1686a avatar Aug 04 '20 16:08 trinity-1686a