mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-06-28 15:42:25 +00:00
Protect the first list we craete in Mjolnir appservice. (#444)
This commit is contained in:
parent
d5e0baaac5
commit
262e80acc2
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user