mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
lint
This commit is contained in:
parent
f2e5ba8295
commit
1893b3c722
@ -102,7 +102,7 @@ export class ProtectionManager {
|
||||
protection.settings[key].setValue(value);
|
||||
}
|
||||
if (protection.enabled) {
|
||||
if (protection.name == "NsfwProtection") {
|
||||
if (protection.name === "NsfwProtection") {
|
||||
(protection as NsfwProtection).initialize()
|
||||
}
|
||||
for (let roomId of this.mjolnir.protectedRoomsTracker.getProtectedRooms()) {
|
||||
|
Loading…
Reference in New Issue
Block a user