1
0
Fork 0

Update StatusPipeline

This commit is contained in:
Daniel Supernault 2019-05-20 19:36:52 -06:00
parent bee3f9bc4a
commit 4bece20954
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -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;