mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-23 18:30:06 +00:00
Bump mention limit to 50
Bug: T110306 Change-Id: I724ef5467a087c70538a8780b856091260b40be4
This commit is contained in:
parent
2a15bea7f8
commit
f38dfc4d08
|
@ -150,9 +150,9 @@ abstract class EchoDiscussionParser {
|
|||
}
|
||||
$mentionedUsers[$user->getId()] = $user->getId();
|
||||
$count++;
|
||||
// If more than 20 users are being pinged this is likely a spam/attack vector
|
||||
// If more than 50 users are being pinged this is likely a spam/attack vector
|
||||
// Don't send any mention notifications.
|
||||
if ( $count > 20 ) {
|
||||
if ( $count > 50 ) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue