Do not show pinned toots when min_id is set (#8111)

master
Yamagishi Kazutoshi 6 years ago committed by Eugen Rochko
parent cc56f2230a
commit 4da03a298a
  1. 2
      app/controllers/accounts_controller.rb

@ -51,7 +51,7 @@ class AccountsController < ApplicationController
private
def show_pinned_statuses?
[replies_requested?, media_requested?, params[:max_id].present?, params[:since_id].present?].none?
[replies_requested?, media_requested?, params[:max_id].present?, params[:min_id].present?].none?
end
def filtered_statuses

Loading…
Cancel
Save