mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-24 07:50:00 +00:00
Update StatusEntityLexer
This commit is contained in:
parent
305fd10519
commit
865f852a8e
1 changed files with 3 additions and 3 deletions
|
@ -107,15 +107,15 @@ class StatusEntityLexer implements ShouldQueue
|
|||
if(empty($mentioned) || !isset($mentioned->id)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
DB::transaction(function () use ($status, $mentioned) {
|
||||
$m = new Mention;
|
||||
$m->status_id = $status->id;
|
||||
$m->profile_id = $mentioned->id;
|
||||
$m->save();
|
||||
|
||||
MentionPipeline::dispatch($status, $m);
|
||||
});
|
||||
|
||||
MentionPipeline::dispatch($status, $m);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue