소스 검색

Update StatusEntityLexer

Daniel Supernault 6 년 전
부모
커밋
e6b4e7670d
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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
+                    ]
                 );
             });
         }