element-hq / element-hq/element-web

Document and warn that invoking `/remove` to self actually parts you from the room

Open
#21,639 4 comments 0 reactions 0 assignees View on GitHub
A-Slash-Commands O-Uncommon T-Enhancement X-Needs-Product
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

Per Matrix spec, kicking is just a forced leave issued to another user by a user with a sufficient power level. People without kicking powers can still use `/remove` against themselves, as this case is unchecked in the client side (this is totally OK server-side, as explained in the first sentence)

### Have you considered any alternatives?

Simply not send the leave event when the operand of the slash command `/remove` is yourself.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.