better name for policy room

This commit is contained in:
jesopo 2022-09-16 15:52:48 +00:00 committed by gnuxie
parent 8ebe257146
commit 9a49d29821

View File

@ -89,6 +89,7 @@ export class ManagedMjolnir {
const listRoomId = await this.mjolnir.client.createRoom({
preset: "public_chat",
invite: [mjolnirOwnerId],
name: `${mjolnirOwnerId}'s policy room`,
initial_state: [{type: SHORTCODE_EVENT_TYPE, state_key: "", content: {shortcode: shortcode}}],
power_level_content_override: powerLevels,
});