forked from mirror/pixelfed
Update StatusPipeline
This commit is contained in:
parent
f278bab515
commit
8235589276
2 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue