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

Deleting a room with associated contents (messages and uploaded files) #948

Closed
saintger opened this issue Jul 6, 2017 · 4 comments
Closed
Labels
client-server Client-Server API feature Suggestion for a significant extension which needs considerable consideration

Comments

@saintger
Copy link

saintger commented Jul 6, 2017

It is currently not possible to delete a room with all associated contents (messages and uploaded files).
Especially in the case of abandoned rooms (rooms which everyone has left), the content is useless and could be safely deleted.
However in the current (and seemingly future) of Matrix, there isn't any relation between the stored uploaded file and the room where it has been uploaded.

Some kind of workaround can be done by deleting local media which are older than a specified timestamp but that approach may delete old files which are however still relevant for some other rooms.

Relevant issues:

@t3chguy
Copy link
Member

t3chguy commented Aug 28, 2017

Files do not get uploaded to a room, and multiple rooms may refer to the same file, this is how the forward feature works in Riot
so the following is not quite true:

the content is useless and could be safely deleted.

@richvdh richvdh added the feature Suggestion for a significant extension which needs considerable consideration label Oct 16, 2017
@xuhdev
Copy link

xuhdev commented May 12, 2018

What about text though? Text may be useless.

@ArchangeGabriel
Copy link

Related: element-hq/riot-meta#166

@turt2live turt2live added the client-server Client-Server API label Feb 6, 2019
@richvdh
Copy link
Member

richvdh commented Feb 5, 2020

dup matrix-org/matrix-spec#431

@richvdh richvdh closed this as completed Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client-server Client-Server API feature Suggestion for a significant extension which needs considerable consideration
Projects
None yet
Development

No branches or pull requests

6 participants