diff options
author | rinpatch <rinpatch@sdf.org> | 2019-09-25 16:36:46 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-09-26 03:46:26 +0300 |
commit | cfd9f73f0d68f2cb677d17d726d576639898e661 (patch) | |
tree | 347be022f51f5dd48a10a3df34c1161567119e6a | |
parent | 9d32f38b39aebf441ca6f910a388c75cf2695b1c (diff) | |
download | pleroma-cfd9f73f0d68f2cb677d17d726d576639898e661.tar.gz |
Credo considered harmful
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub_controller.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub_controller.ex b/lib/pleroma/web/activity_pub/activity_pub_controller.ex index 80f3b4e0c..c59480ddf 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -205,8 +205,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do if params["max_id"] do ActivityPub.fetch_user_activities(user, nil, %{ "max_id" => params["max_id"], - # This is a hack because postgres generates inefficient queries when filtering by 'Answer', - # poll votes will be hidden by the visibility filter in this case anyway + # This is a hack because postgres generates inefficient queries when filtering by + # 'Answer', poll votes will be hidden by the visibility filter in this case anyway "include_poll_votes" => true, "limit" => 10 }) |