about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-08-02 00:57:02 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-08-01 17:57:02 +0200
commit4da03a298a20e5007718764483544593556a5ed4 (patch)
treefbde1fcc67b2133822fe61e3ff26141e3cb5c9f4 /app
parentcc56f2230a10c4fded80a34e5297fad8d9891e02 (diff)
Do not show pinned toots when min_id is set (#8111)
Diffstat (limited to 'app')
-rw-r--r--app/controllers/accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb
index d63363156..86e3b6e47 100644
--- a/app/controllers/accounts_controller.rb
+++ b/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