Creating Matrix Rooms/Spaces
actualMatrix explanationroom willversion follow,>= tldr;v12 here:give implicit infinite power level to any creator(s) of the room. When creating rooms, make sure that they are owned (created by) @admin:synapse.lix.systems and that account only. Given that most clients don't expose any of such "internals" in the UI yet, the easiest way is to impersonate the admin user via access token or password login.
TODO document where we store the password / how to get an access token.
createCreate the roomwith the matrixvia API oraclientthatfromallowstheyouadmin user
We use https://github.com/tulir/mauliasproxy to setforward powerlevelall 101:our
aliases fromwork and the main address can be set:curllix.systems-Hto"Authorization:synapse.lix.systems.BearerOnceSNIP"a-XlocalPOSTaliashttp://localhost:8008/_matrix/client/v3/createRoomis-dadded,'{"power_level_content_override":{"users":{"@draupnir:lix.systems":101,"@hexchen:colon.at":100}},"invite":["@hexchen:colon.at"],"room_alias_name":"open-beta","name":"LixtheOpenforwarderBeta","visibility":"public"}'will
IfConfigureusingaanlocalexistingroomroom,alias:powerlevel@myroom:synapse.lix.systems
@myroom:lix.systems
If using the credentials of the lix draupnir bot:to setprotect athat room alias using room:!draupnir alias add #room-alias:lix.systems !roomid:example.org
thenadd as a secondary or primary alias to the room
make sure @draupnir:lix.systems is invited to the room and has the maximum available power level in the room.
- Draupnir can join with
!draupnir rooms add <roomid>
Add room to the appropriate spaces. This mightrequires require help from someone withrespective permissions if you are not onin the communityspace's teamroom