-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
matrix-org/matrix-js-sdk
#1934Description
I created a PR to to Synapse to align Synapse's implementation of membership events with the way that the spec says they should work matrix-org/synapse#10807. The problem with that is it will reintroduce #1961 because right now when you click the kick button in MemberInfo or use the /kick slash command Element sends a membership event for that user rather than using the dedicated API https://spec.matrix.org/unstable/client-server-api/#post_matrixclientr0roomsroomidkick
So Element needs to switch over to using the /kick API so that behavior does not come back once the Synapse PR is merged.
- Change slash command to use dedicated /kick API
- Change MemberInfo to use dedicated /kick API
- Investigate if there are any other areas where kicking or banning happen via membership events. The ban and unban buttons in MemberInfo, /ban and /unban slash commands, and the unban button in the room settings seem to all use the proper APIs.