|
|
@ -66,12 +66,6 @@ class Bouncer {
|
|
|
|
return (new self)->handle($status);
|
|
|
|
return (new self)->handle($status);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(AutospamService::active()) {
|
|
|
|
|
|
|
|
if(AutospamService::check($status->caption)) {
|
|
|
|
|
|
|
|
return (new self)->handle($status);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$recentKey = 'pf:bouncer_v0:recent_by_pid:' . $status->profile_id;
|
|
|
|
$recentKey = 'pf:bouncer_v0:recent_by_pid:' . $status->profile_id;
|
|
|
|
$recentTtl = now()->addHours(28);
|
|
|
|
$recentTtl = now()->addHours(28);
|
|
|
|
|
|
|
|
|
|
|
@ -95,6 +89,12 @@ class Bouncer {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(AutospamService::active()) {
|
|
|
|
|
|
|
|
if(AutospamService::check($status->caption)) {
|
|
|
|
|
|
|
|
return (new self)->handle($status);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(!Str::contains($status->caption, [
|
|
|
|
if(!Str::contains($status->caption, [
|
|
|
|
'https://',
|
|
|
|
'https://',
|
|
|
|
'http://',
|
|
|
|
'http://',
|
|
|
|