]> cat aescling's git repositories - mastodon.git/commitdiff
Do not show pinned toots when min_id is set (#8111)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Wed, 1 Aug 2018 15:57:02 +0000 (00:57 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 1 Aug 2018 15:57:02 +0000 (17:57 +0200)
app/controllers/accounts_controller.rb

index d63363156b1ec4ffdaf006fc2b75443fdd175dc4..86e3b6e47ee1328a06c3d6225235c7fed18761be 100644 (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