1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

Update StatusEntityLexer

This commit is contained in:
Daniel Supernault 2019-03-01 22:28:11 -07:00
parent d39947ed08
commit e6b4e7670d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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
]
); );
}); });
} }