mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update StatusPipeline
This commit is contained in:
parent
bee3f9bc4a
commit
4bece20954
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class StatusEntityLexer implements ShouldQueue
|
|||
$status = $this->status;
|
||||
|
||||
foreach ($mentions as $mention) {
|
||||
$mentioned = Profile::whereUsername($mention)->firstOrFail();
|
||||
$mentioned = Profile::whereNull('domain')->whereUsername($mention)->firstOrFail();
|
||||
|
||||
if (empty($mentioned) || !isset($mentioned->id)) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue