Bump mention limit to 50

Bug: T110306
Change-Id: I724ef5467a087c70538a8780b856091260b40be4
This commit is contained in:
Matthew Flaschen 2015-08-26 19:16:36 -04:00
parent 2a15bea7f8
commit f38dfc4d08

View file

@ -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;
}
}