mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update StatusPipeline, only deliver if ap is enabled
This commit is contained in:
parent
9a3b70d23d
commit
5b68d147d2
1 changed files with 4 additions and 1 deletions
|
@ -37,7 +37,10 @@ class NewStatusPipeline implements ShouldQueue
|
|||
$status = $this->status;
|
||||
|
||||
StatusEntityLexer::dispatch($status);
|
||||
|
||||
if(config('pixelfed.activitypub_enabled') == true) {
|
||||
StatusActivityPubDeliver::dispatch($status);
|
||||
}
|
||||
|
||||
// Cache::forever('post.'.$status->id, $status);
|
||||
// $redis = Redis::connection();
|
||||
|
|
Loading…
Reference in a new issue