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

Command to demote admin users in a room #504

Open
Twi1ightSparkle opened this issue Feb 14, 2024 · 1 comment
Open

Command to demote admin users in a room #504

Twi1ightSparkle opened this issue Feb 14, 2024 · 1 comment
Labels
T-Enhancement New feature or request X-Blocked Cannot make any progress on this issue because it is blocked by another issue, module, etc

Comments

@Twi1ightSparkle
Copy link

Depends on element-hq/synapse#16917

For example either making this use the new Admin API when required

!mjolnir powerlevel <user ID> <power level> [room alias/ID]

Or a new command something along the lines of

!mjolnir remove admin <room alias> [user alias/ID]
@Twi1ightSparkle Twi1ightSparkle added T-Enhancement New feature or request X-Blocked Cannot make any progress on this issue because it is blocked by another issue, module, etc labels Feb 14, 2024
@Twi1ightSparkle
Copy link
Author

Alternatively, while not a great implementation, this could also be done by mjolnir logging in as the user , then impersonates the user to demote themselves using the normal client-server API, then logout the token received earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Enhancement New feature or request X-Blocked Cannot make any progress on this issue because it is blocked by another issue, module, etc
Projects
None yet
Development

No branches or pull requests

1 participant