Skip to content
This repository has been archived by the owner on May 14, 2023. It is now read-only.

Bot/script to redact all messages in a room, or after a certain time #81

Open
non-Jedi opened this issue Sep 19, 2017 · 11 comments
Open

Comments

@non-Jedi
Copy link

non-Jedi commented Sep 19, 2017

Request from @cjd:matrix.org https://matrix.to/#/!XqBunHwQIXUiqCaoxq:matrix.org/$15058273983283238XGSvD:matrix.org


People want:

  • Self destructing messages
  • Redact everything on demand

~ turt2live

@richvdh
Copy link

richvdh commented Sep 19, 2017

the usecase is apparently "Private chat and I want to remove it when my partner and I are done chatting"

I'm dubious about whether this is the best way to achieve that end

@turt2live turt2live changed the title Bot/script to redact all messages in a room Bot/script to redact all messages in a room, or after a certain time Sep 21, 2017
@MurzNN
Copy link

MurzNN commented Sep 21, 2017

Additionally will be good to also remove old files from room storage.

@MurzNN
Copy link

MurzNN commented Sep 21, 2017

Another useful command will be "Destroy room" that delete (redact) all messages, remove all files, kick all members from room, set room to "Invite only" and do one last thing - kick himself from room.

@ordinarygulp
Copy link

This would be very good, if something was talked about that has privacy concerns, or if we want to remove very old history.

@ghost
Copy link

ghost commented Nov 27, 2019

Any news on this ?
As a user caring about data occupation on server cost (environment/energy) for files that are not useful anymore or history that can easily be deleted from server, really looking forward to this !

@notsatvrn
Copy link

I need this for my Riot group. Any updates on this?

@ptman
Copy link

ptman commented Aug 27, 2020

Doesn't message retention take care of this?

@commonism
Copy link

I added redacting own messages in rooms functionality to the archiver bot.

russelldavies/matrix-archive@master...commonism:redact

@xanoni
Copy link

xanoni commented Sep 26, 2021

I added redacting own messages in rooms functionality to the archiver bot.

russelldavies/[email protected]:redact

This is great. You should add an option that allows users to define whether all messages should be deleted, or just messages older than X hours / days. After that is done, just running the script regularly (e.g., via cron in batch mode) would emulate disappearing messages.

@MurzNN
Copy link

MurzNN commented Oct 8, 2021

I added redacting own messages in rooms functionality to the archiver bot.

russelldavies/[email protected]:redact

@commonism Is this not merged to main branch yet? Did you create a PR with this feature? Cuz I still can't see the --redact command in main repo.

@Mikaela

This comment was marked as outdated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants