Protect the first list we craete in Mjolnir appservice. (#444)

This commit is contained in:
Gnuxie
2022-12-05 16:57:12 +00:00
committed by GitHub
parent d5e0baaac5
commit 262e80acc2
+1
View File
@@ -216,6 +216,7 @@ export class ManagedMjolnir {
{ name: `${mjolnirOwnerId}'s policy room` }
);
const roomRef = Permalinks.forRoom(listRoomId);
await this.mjolnir.addProtectedRoom(listRoomId);
return await this.mjolnir.watchList(roomRef);
}