mirror of
https://github.com/friendica/friendica
synced 2024-11-18 04:23:41 +00:00
Logging improved
This commit is contained in:
parent
b948b2c7cb
commit
25f45cf116
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class Relay
|
|||
$content_cleaned = mb_strtolower(BBCode::toPlaintext($cleaned, false));
|
||||
|
||||
if (strlen($content_cleaned) < strlen($content) / 2) {
|
||||
Logger::info('Possible hashtag spam detected - rejected', ['hashtags' => $tags, 'network' => $network, 'url' => $url, 'causer' => $causer, 'body' => $body]);
|
||||
Logger::info('Possible hashtag spam detected - rejected', ['hashtags' => $tags, 'network' => $network, 'url' => $url, 'causer' => $causer, 'content' => $content]);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue