|
@@ -37,7 +37,10 @@ class NewStatusPipeline implements ShouldQueue
|
|
|
$status = $this->status;
|
|
|
|
|
|
StatusEntityLexer::dispatch($status);
|
|
|
- StatusActivityPubDeliver::dispatch($status);
|
|
|
+
|
|
|
+ if(config('pixelfed.activitypub_enabled') == true) {
|
|
|
+ StatusActivityPubDeliver::dispatch($status);
|
|
|
+ }
|
|
|
|
|
|
// Cache::forever('post.'.$status->id, $status);
|
|
|
// $redis = Redis::connection();
|