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