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

Add ability to manage power levels #12

Open
KB1RD opened this issue Aug 20, 2020 · 5 comments
Open

Add ability to manage power levels #12

KB1RD opened this issue Aug 20, 2020 · 5 comments

Comments

@KB1RD
Copy link
Contributor

KB1RD commented Aug 20, 2020

It would be nice to specify which PLs users should have in rooms along with their membership.

@ScottRochford
Copy link

+1 for this feature.

@T3chTobi
Copy link

You can do that now with a REST hook to another server and a CURL request back to synapse. Works 100%.

@ScottRochford
Copy link

I don't know how to do this, are you able to direct me to documentation or examples please?

@spantaleev
Copy link
Member

I guess what he meant was, that you can use the new event hooks system to hook into /createRoom or some other API call, and then initialize the room on your own (by sending API requests).

However, doing that is kind of difficult. I think this feature request is still valid.

@T3chTobi
Copy link

You should use a REST hook with an eventType: "afterAuthenticatedRequest"
On your (second) server, where you receive that hook you can then create a CURL request using this: https://github.com/devture/matrix-corporal/blob/master/docs/http-api.md#user-access-token-retrieval-endpoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants