Merge pull request #6685 from pixelfed/shleeable-patch-19

Autospam: Posting a photo with an empty caption can lock the user account as spam
pull/6696/head
dansup 1 month ago committed by GitHub
commit 0df11eb0ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -21,7 +21,7 @@ class AutospamService
public static function check($text)
{
if (! $text || strlen($text) == 0) {
return false;
}
if (! self::active()) {
return null;

Loading…
Cancel
Save