1
0
Fork 0
forked from mirror/pixelfed

Update StatusPipeline

This commit is contained in:
Daniel Supernault 2018-12-25 14:22:34 -07:00
parent f278bab515
commit 8235589276
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 1 additions and 1 deletions

View file

@ -37,6 +37,7 @@ class NewStatusPipeline implements ShouldQueue
$status = $this->status; $status = $this->status;
StatusEntityLexer::dispatch($status); StatusEntityLexer::dispatch($status);
StatusActivityPubDeliver::dispatch($status);
// Cache::forever('post.'.$status->id, $status); // Cache::forever('post.'.$status->id, $status);
// $redis = Redis::connection(); // $redis = Redis::connection();

View file

@ -48,7 +48,6 @@ class StatusEntityLexer implements ShouldQueue
public function parseEntities() public function parseEntities()
{ {
$this->extractEntities(); $this->extractEntities();
StatusActivityPubDeliver::dispatch($this->status);
} }
public function extractEntities() public function extractEntities()