consistently use 'alias' in ensureAliasedRoomExists (#155)

This commit is contained in:
jess 2021-11-19 17:09:58 +00:00 committed by GitHub
parent 1446b261d8
commit 1bf3ecac6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;