diff options
author | rinpatch <rinpatch@sdf.org> | 2019-09-25 16:36:46 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-09-25 16:36:46 +0300 |
commit | f2880d7d29836b16ae6825fbda85c21496fc42b5 (patch) | |
tree | af820003c1a94d928fb5e7e3f1a5e50027e1e8fe | |
parent | c7d8ccd0c417aab59253a446ed0ffc973448536e (diff) | |
download | pleroma-f2880d7d29836b16ae6825fbda85c21496fc42b5.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 60abe1e1d..8112f6642 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -239,8 +239,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 }) |