element-hq / element-meta

Shared/meta documentation and project artefacts for Element clients
70 stars 12 forks source link

Ability to ban users after they leave a room #2529

Open TheJaredWilcurt opened 1 week ago

TheJaredWilcurt commented 1 week ago

Your use case

Why would you like to do it?

You should be able to ban accounts from being able to come back. Bans with the word "spam" in the reason should be sent to an automated spam filter system and used as part of the criteria to prevent accounts from joining/spamming other rooms.

How would you like to achieve it?

Any of these would work:

Forward
Share
Report
View Source
---
Remove

It should have Ban under Remove, even if the user left the chat.

Have you considered any alternatives?

Couldn't find any other way to ban users that have already left.

Additional context

No response

solbu commented 1 week ago

I am a moderator in several rooms, and I think I have an answer for you.

When a user leaves the room, you can still click on the user profile image in the chat. The message will have an icon or their profile picture , and a text saying «UserName left the room» The icon is always clickable and opens their profile, and if you're a moderator you can Ban them from the room, there. You can also remove all their messages in one go in the same view.

It is not obvious that the profile icons in the chat are clickable. :-)