Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leave rooms with a reason? #1295

Closed
Half-Shot opened this issue Jun 13, 2018 · 2 comments · Fixed by #1983
Closed

Leave rooms with a reason? #1295

Half-Shot opened this issue Jun 13, 2018 · 2 comments · Fixed by #1983
Labels
client-server Client-Server API improvement A suggestion for a relatively simple improvement to the protocol

Comments

@Half-Shot
Copy link
Contributor

Just wondered why there is no reason field for leaving a room, but there is for a kick. It would have some use for bots who wish to declare why they are leaving e.g. "Been invited to a Encrypted room, but leaving because we don't support that".

Given both kicking and leaving result in the same member state (you can even kick yourself with a reason in Riot), it seems a little odd that we don't have an option for that via /leave.

@jcgruenhage
Copy link
Contributor

Also, the event that's created when kicking someone doesn't conform to the spec, because https://matrix.org/docs/spec/client_server/r0.3.0.html#m-room-member doesn't contain reason.

@turt2live turt2live added the improvement A suggestion for a relatively simple improvement to the protocol label Jul 19, 2018
@turt2live turt2live added the client-server Client-Server API label Sep 6, 2018
@anoadragon453
Copy link
Member

Also, the event that's created when kicking someone doesn't conform to the spec, because https://matrix.org/docs/spec/client_server/r0.3.0.html#m-room-member doesn't contain reason.

Heads up that this is now supported in the latest version of the spec: https://github.com/matrix-org/matrix-doc/blob/6274a66ae5fa140c0f08992a4244e5b066194150/api/client-server/kicking.yaml#L64-L68

RiotTranslateBot pushed a commit to RiotTranslateBot/matrix-doc that referenced this issue Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client-server Client-Server API improvement A suggestion for a relatively simple improvement to the protocol
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants