diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/api/v1/timelines/tag_controller.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/api/v1/timelines/tag_controller.rb b/app/controllers/api/v1/timelines/tag_controller.rb index 2494cfba7..126ffb5dc 100644 --- a/app/controllers/api/v1/timelines/tag_controller.rb +++ b/app/controllers/api/v1/timelines/tag_controller.rb @@ -29,9 +29,7 @@ class Api::V1::Timelines::TagController < Api::BaseController if @tag.nil? [] elsif @tag.name.in?(['self.bookmarks', '.self.bookmarks']) - bookmarks = Status.reorder(nil).joins(:bookmarks).merge(bookmark_results) - preload_media(bookmarks) - bookmarks + Status.reorder(nil).joins(:bookmarks).merge(bookmark_results) else statuses = tag_timeline_statuses.paginate_by_id( limit_param(DEFAULT_STATUSES_LIMIT), |