Parcourir la source

Update StatusEntityLexer

Daniel Supernault il y a 6 ans
Parent
commit
e6b4e7670d
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      app/Jobs/StatusPipeline/StatusEntityLexer.php

+ 5 - 1
app/Jobs/StatusPipeline/StatusEntityLexer.php

@@ -95,7 +95,11 @@ class StatusEntityLexer implements ShouldQueue
                     ['name' => $tag, 'slug' => $slug]
                 );
                 StatusHashtag::firstOrCreate(
-                    ['status_id' => $status->id, 'hashtag_id' => $hashtag->id]
+                    [
+                        'status_id' => $status->id, 
+                        'hashtag_id' => $hashtag->id,
+                        'profile_id' => $status->profile_id
+                    ]
                 );
             });
         }