From a33d108910f0290e4175b4528ed698facdcd9ec8 Mon Sep 17 00:00:00 2001 From: Shay Date: Wed, 23 Oct 2024 09:34:19 -0700 Subject: [PATCH] make protectedRoomsConfig readonly Co-authored-by: Travis Ralston --- src/Mjolnir.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mjolnir.ts b/src/Mjolnir.ts index 38dd8f98..cf59fc80 100644 --- a/src/Mjolnir.ts +++ b/src/Mjolnir.ts @@ -58,7 +58,7 @@ export class Mjolnir { */ private unlistedUserRedactionQueue = new UnlistedUserRedactionQueue(); - public protectedRoomsConfig: ProtectedRoomsConfig; + public readonly protectedRoomsConfig: ProtectedRoomsConfig; public readonly protectedRoomsTracker: ProtectedRoomsSet; private webapis: WebAPIs; private openMetrics: OpenMetrics;