瀏覽代碼

Update PublicApiController

Daniel Supernault 6 年之前
父節點
當前提交
bb31b54b41
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      app/Http/Controllers/PublicApiController.php

+ 0 - 4
app/Http/Controllers/PublicApiController.php

@@ -357,8 +357,6 @@ class PublicApiController extends Controller
                         'created_at',
                         'updated_at'
                       )->whereIn('type', ['photo', 'photo:album', 'video', 'video:album'])
-                      ->whereLocal(true)
-                      ->whereNull('uri')
                       ->where('id', $dir, $id)
                       ->whereIn('profile_id', $following)
                       ->whereNotIn('profile_id', $filtered)
@@ -386,8 +384,6 @@ class PublicApiController extends Controller
                         'created_at',
                         'updated_at'
                       )->whereIn('type', ['photo', 'photo:album', 'video', 'video:album'])
-                      ->whereLocal(true)
-                      ->whereNull('uri')
                       ->whereIn('profile_id', $following)
                       ->whereNotIn('profile_id', $filtered)
                       ->whereNull('in_reply_to_id')