|
@@ -75,7 +75,6 @@ class StatusEntityLexer implements ShouldQueue
|
|
public function storeEntities()
|
|
public function storeEntities()
|
|
{
|
|
{
|
|
$this->storeHashtags();
|
|
$this->storeHashtags();
|
|
- $this->storeMentions();
|
|
|
|
DB::transaction(function () {
|
|
DB::transaction(function () {
|
|
$status = $this->status;
|
|
$status = $this->status;
|
|
$status->rendered = nl2br($this->autolink);
|
|
$status->rendered = nl2br($this->autolink);
|
|
@@ -100,6 +99,7 @@ class StatusEntityLexer implements ShouldQueue
|
|
);
|
|
);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+ $this->storeMentions();
|
|
}
|
|
}
|
|
|
|
|
|
public function storeMentions()
|
|
public function storeMentions()
|
|
@@ -123,5 +123,13 @@ class StatusEntityLexer implements ShouldQueue
|
|
MentionPipeline::dispatch($status, $m);
|
|
MentionPipeline::dispatch($status, $m);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+ $this->deliver();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public function deliver()
|
|
|
|
+ {
|
|
|
|
+ if(config('pixelfed.activitypub_enabled') == true) {
|
|
|
|
+ StatusActivityPubDeliver::dispatch($this->status);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|