diff --git a/src/protections/MentionSpam.ts b/src/protections/MentionSpam.ts index 7fcb0acb..10286c27 100644 --- a/src/protections/MentionSpam.ts +++ b/src/protections/MentionSpam.ts @@ -25,7 +25,7 @@ export const DEFAULT_MAX_MENTIONS = 10; export class MentionSpam extends Protection { private roomDisplaynameCache = new LRUCache({ - ttl: 1000 * 60 * 24, + ttl: 1000 * 60 * 24, // 24 minutes ttlAutopurge: true, });