mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
add a minimum
This commit is contained in:
parent
38580c7a46
commit
b9d4f21786
@ -25,7 +25,7 @@ const USER_ID_REGEX = /@[^:]*:.+/;
|
||||
export class MentionSpam extends Protection {
|
||||
|
||||
settings = {
|
||||
maxMentions: new NumberProtectionSetting(DEFAULT_MAX_MENTIONS),
|
||||
maxMentions: new NumberProtectionSetting(DEFAULT_MAX_MENTIONS, 1),
|
||||
};
|
||||
|
||||
constructor() {
|
||||
|
Loading…
Reference in New Issue
Block a user