mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 08:14:10 +00:00
Update StatusEntityLexer
This commit is contained in:
parent
d39947ed08
commit
e6b4e7670d
1 changed files with 5 additions and 1 deletions
|
@ -95,7 +95,11 @@ class StatusEntityLexer implements ShouldQueue
|
||||||
['name' => $tag, 'slug' => $slug]
|
['name' => $tag, 'slug' => $slug]
|
||||||
);
|
);
|
||||||
StatusHashtag::firstOrCreate(
|
StatusHashtag::firstOrCreate(
|
||||||
['status_id' => $status->id, 'hashtag_id' => $hashtag->id]
|
[
|
||||||
|
'status_id' => $status->id,
|
||||||
|
'hashtag_id' => $hashtag->id,
|
||||||
|
'profile_id' => $status->profile_id
|
||||||
|
]
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue