Merge pull request #672 from pixelfed/frontend-ui-refactor

Update EntityLexer job
This commit is contained in:
daniel 2018-12-25 02:36:12 -07:00 committed by GitHub
commit 8921f64cc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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