Browse Source

Update StatusEntityLexer

Daniel Supernault 6 năm trước cách đây
mục cha
commit
1bd90cb95b
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      app/Jobs/StatusPipeline/StatusEntityLexer.php

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

@@ -42,7 +42,10 @@ class StatusEntityLexer implements ShouldQueue
      */
     public function handle()
     {
-        $this->parseEntities();
+        $profile = $this->status->profile;
+        if($profile->no_autolink == false) {
+            $this->parseEntities();
+        }
     }
 
     public function parseEntities()