1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

Update StatusPipeline, only deliver if ap is enabled

This commit is contained in:
Daniel Supernault 2018-12-29 22:39:08 -07:00
parent 9a3b70d23d
commit 5b68d147d2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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();