Skip to content

Commit 262e80a

Browse files
authored
Protect the first list we craete in Mjolnir appservice. (#444)
1 parent d5e0baa commit 262e80a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/appservice/MjolnirManager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ export class ManagedMjolnir {
216216
{ name: `${mjolnirOwnerId}'s policy room` }
217217
);
218218
const roomRef = Permalinks.forRoom(listRoomId);
219+
await this.mjolnir.addProtectedRoom(listRoomId);
219220
return await this.mjolnir.watchList(roomRef);
220221
}
221222

0 commit comments

Comments
 (0)