From b99227c52168157688c01b947d8b2f393094107f Mon Sep 17 00:00:00 2001 From: gnuxie Date: Thu, 8 Dec 2022 14:27:11 +0000 Subject: [PATCH] doc --- src/ProtectedRoomsSet.ts | 3 ++- src/models/PolicyList.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ProtectedRoomsSet.ts b/src/ProtectedRoomsSet.ts index da102ee..b97c790 100644 --- a/src/ProtectedRoomsSet.ts +++ b/src/ProtectedRoomsSet.ts @@ -241,7 +241,8 @@ export class ProtectedRoomsSet { } /** - * Sync all the rooms with all the watched lists, banning and applying any changed ACLS. + * Update each watched list and then synchronize all the protected rooms with all the policies described in the watched lists, + * banning and applying any changed ACLS via `syncRoomsWithPolicies`. */ public async syncLists() { for (const list of this.policyLists) { diff --git a/src/models/PolicyList.ts b/src/models/PolicyList.ts index 51c8151..be9f0bf 100644 --- a/src/models/PolicyList.ts +++ b/src/models/PolicyList.ts @@ -577,7 +577,7 @@ export class Revision { */ private static makeULID = monotonicFactory(); - /** + /** * Is only public for the comparison method, * I feel like I'm missing something here and it is possible without */