Allow for bulk deletion of chat messages

AI-generated summary

The discussion is about the need for bulk deletion of chat messages in Discourse. not-ethan points out that currently, only moving channels is possible, and bulk deletion would be more efficient, especially when dealing with spam messages. mcwumbly suggests a workaround by creating a private channel and moving the messages there, but acknowledges the need for bulk deletion. JammyDodger updates that bulk deletion is now possible, linking to the relevant GitHub commit.

Currently when selecting messages in chat the only moderation action is moving the channel. You should be able to also bulk delete them. For example if somebody spams a bunch of messages instead of selection them and then bulk deleting you need to do it one by one. @mcwumbly did give a good suggestion by having a channel you can move it to instead but bulk deleting would still be better

Originally sent in chat feedback
not-ethan

Are we going to be able to bulk delete messages like posts in a topic?

For example if somebody spams a lot of messages you currently need to delete them one by one

(I needed to do this the other day)

mcwumbly

Folks have brought this up, but I haven't heard as strong as a case for it as you just made now. Seems like a think that'd be helpful in this scenario. A workaround in the meantime: create a private channel and bulk-move the messages there

3 Likes

Just to round this one out, I believe this is now possible. :tada: :slight_smile:

https://github.com/discourse/discourse/commit/9889547475e6f06e0dc58340984eefda4c0da0c1

2 Likes