Skip to content

Commit

Permalink
make protectedRoomsConfig readonly
Browse files Browse the repository at this point in the history
Co-authored-by: Travis Ralston <travisr@matrix.org>
  • Loading branch information
H-Shay and turt2live authored Oct 23, 2024
1 parent 2777b78 commit a33d108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mjolnir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a33d108

Please sign in to comment.