Update StatusEntityLexer

This commit is contained in:
Daniel Supernault 2018-12-24 22:34:48 -07:00
parent 071feae1d0
commit 95301f1357
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -42,7 +42,6 @@ class StatusEntityLexer implements ShouldQueue
*/ */
public function handle() public function handle()
{ {
$status = $this->status;
$this->parseEntities(); $this->parseEntities();
} }
@ -73,6 +72,7 @@ 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()