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

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;