mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
consistently use 'alias' in ensureAliasedRoomExists (#155)
This commit is contained in:
parent
1446b261d8
commit
1bf3ecac6d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user