Skip to content
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

allow file uploader to redact file from server #5025

Closed
uhoreg opened this issue Sep 12, 2017 · 5 comments
Closed

allow file uploader to redact file from server #5025

uhoreg opened this issue Sep 12, 2017 · 5 comments

Comments

@uhoreg
Copy link
Member

uhoreg commented Sep 12, 2017

so that the file itself is removed, rather than just redacting the event pointing to the file. This would require:

  • the server to keep track of who uploaded a file
  • new endpoint for the user to request deletion of the file (maybe something like DELETE /_matrix/media/r0/download/{serverName}/{mediaId})

To figure out:

  • how to propagate the deletion request to other servers?

Note that this may result in forwarded events pointing to no-longer-existing files.

(based on conversation starting from https://matrix.to/#/!DgvjtOljKujDBrxyHk:matrix.org/$15052324193420585vPeiO:matrix.org)

@t3chguy
Copy link
Member

t3chguy commented Sep 12, 2017

so redacting a forwarded "copy" of the event might lead to the original being unintentionally deleted? (possibly if the original sender reposted using forward)

@uhoreg
Copy link
Member Author

uhoreg commented Sep 12, 2017

I thought forwarded events were marked as being forwarded, but it looks like they aren't. I guess if you redact an event, it could prompt the user to ask whether the file should be deleted too, or if it should just redact the event.

@t3chguy
Copy link
Member

t3chguy commented Sep 12, 2017

they are not, and yeah sure it should ask, but then it'll need to make clear that it'll delete forwards and potentially the original too

@turt2live
Copy link
Member

A case to consider (which is common with moderation): Someone else redacting your message, across homeservers. You won't be able to tell the other server to delete the file.

@turt2live
Copy link
Member

Closing in favour of single tracking issue: element-hq/element-meta#398

@turt2live turt2live closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants