mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-09-29 20:56:23 +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` }
|
{ name: `${mjolnirOwnerId}'s policy room` }
|
||||||
);
|
);
|
||||||
const roomRef = Permalinks.forRoom(listRoomId);
|
const roomRef = Permalinks.forRoom(listRoomId);
|
||||||
|
await this.mjolnir.addProtectedRoom(listRoomId);
|
||||||
return await this.mjolnir.watchList(roomRef);
|
return await this.mjolnir.watchList(roomRef);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user