element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.17k stars 1.99k forks source link

Allow hiding invite and remove (kick) messages from timeline #28252

Open RavuAlHemio opened 1 week ago

RavuAlHemio commented 1 week ago

Your use case

What would you like to do?

I would like to allow users to choose whether they want to see $USER1 invited $USER2 and $USER1 removed $USER2 messages in their timeline.

Why would you like to do it?

In our network, we have channels whose membership is managed by a bot who automatically invites new users who belong to specific teams and removes them when they leave that team. Some of our users would prefer not to see these invitation/removal messages as they wish to concentrate on the actual messages.

How would you like to achieve it?

Similar to the Show join/leave messages (invites/removes/bans unaffected) option, there should be a Show invite/remove messages option that is activated by default and can be deactivated.

Have you considered any alternatives?

The functionality can theoretically be subsumed under the existing Show join/leave messages [...] option, but I assume there is a good reason why invites, removes and bans were excluded from it when it was implemented.

Additional context

I have attempted to create a minimal pull request for this feature: #28247

Relevant existing issues are: