Skip to content

Add ability to manage power levels #12

Open

Description

@KB1RD

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

Activity

  1. ScottRochford commented on Jan 17, 2021

    @ScottRochford

    +1 for this feature.

  2. T3chTobi commented on Jan 17, 2021

    @T3chTobi

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

  3. ScottRochford commented on Jan 18, 2021

    @ScottRochford

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

  4. spantaleev commented on Jan 18, 2021

    @spantaleev
    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.

  5. T3chTobi commented on Jan 18, 2021

    @T3chTobi

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions