You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
ScottRochford commentedon Jan 17, 2021
+1 for this feature.
T3chTobi commentedon Jan 17, 2021
You can do that now with a REST hook to another server and a CURL request back to synapse. Works 100%.
ScottRochford commentedon Jan 18, 2021
I don't know how to do this, are you able to direct me to documentation or examples please?
spantaleev commentedon Jan 18, 2021
I guess what he meant was, that you can use the new event hooks system to hook into
/createRoomor 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 commentedon Jan 18, 2021
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