mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update StatusEntityLexer, prevent boosts and replies from being added to PublicTimelineService
This commit is contained in:
parent
5e1e207329
commit
327073724f
1 changed files with 6 additions and 1 deletions
|
@ -162,7 +162,12 @@ class StatusEntityLexer implements ShouldQueue
|
|||
Bouncer::get($status);
|
||||
}
|
||||
|
||||
if($status->uri == null && $status->scope == 'public' && in_array($status->type, $types)) {
|
||||
if( $status->uri == null &&
|
||||
$status->scope == 'public' &&
|
||||
in_array($status->type, $types) &&
|
||||
$status->in_reply_to_id === null &&
|
||||
$status->reblog_of_id === null
|
||||
) {
|
||||
PublicTimelineService::add($status->id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue