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

This commit is contained in:
Yamagishi Kazutoshi 2018-08-02 00:57:02 +09:00 committed by Eugen Rochko
parent cc56f2230a
commit 4da03a298a

View file

@ -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