forked from mirror/pixelfed
Update StatusPipeline
This commit is contained in:
parent
bee3f9bc4a
commit
4bece20954
|
@ -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 New Issue