mirror of https://github.com/pixelfed/pixelfed.git
Merge pull request #672 from pixelfed/frontend-ui-refactor
Update EntityLexer job
This commit is contained in:
commit
8921f64cc0
|
@ -48,6 +48,7 @@ class StatusEntityLexer implements ShouldQueue
|
||||||
public function parseEntities()
|
public function parseEntities()
|
||||||
{
|
{
|
||||||
$this->extractEntities();
|
$this->extractEntities();
|
||||||
|
StatusActivityPubDeliver::dispatch($this->status);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function extractEntities()
|
public function extractEntities()
|
||||||
|
@ -72,7 +73,6 @@ class StatusEntityLexer implements ShouldQueue
|
||||||
$status->entities = json_encode($this->entities);
|
$status->entities = json_encode($this->entities);
|
||||||
$status->save();
|
$status->save();
|
||||||
});
|
});
|
||||||
StatusActivityPubDeliver::dispatch($this->status);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function storeHashtags()
|
public function storeHashtags()
|
||||||
|
|
Loading…
Reference in New Issue