mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-10-23 17:32:22 +00:00
consistently use 'alias' in ensureAliasedRoomExists (#155)
This commit is contained in:
1 file changed
+1
-1
@@ -39,7 +39,7 @@ export async function ensureAliasedRoomExists(client: MatrixClient, alias: strin
|
||||
let roomId = await client.createRoom({
|
||||
visibility: "public",
|
||||
});
|
||||
await client.createRoomAlias(config.managementRoom, roomId);
|
||||
await client.createRoomAlias(alias, roomId);
|
||||
return roomId
|
||||
}
|
||||
throw e;
|
||||
|
||||
Reference in new issue
Block a user