Open ktnhuni opened 1 year ago
We don't have an easy way to do this via the Admin API at present. Most people use a bot like Mjolnir (or perhaps the fork Draupnir---note, not maintained by the Matrix.org Foundation) for event deletion like this (redaction).
If the message creator or a room admin/moderator belongs to your homeserver, you could
/logout
call (as per the Synapse docs).However this is a "nuclear" approach and takes over a user's account---it's best used as a last resort only.
I suggest we leave this issue open as a request to provide an API that does something like this. For your specific situation, I'll have to redirect you to the Synapse Admins room for community support.
Is there any way for a API admin to delete a specific message event from a room?