aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-25 16:36:46 +0300
committerrinpatch <rinpatch@sdf.org>2019-09-25 16:36:46 +0300
commitf2880d7d29836b16ae6825fbda85c21496fc42b5 (patch)
treeaf820003c1a94d928fb5e7e3f1a5e50027e1e8fe
parentc7d8ccd0c417aab59253a446ed0ffc973448536e (diff)
downloadpleroma-f2880d7d29836b16ae6825fbda85c21496fc42b5.tar.gz
Credo considered harmful
-rw-r--r--lib/pleroma/web/activity_pub/activity_pub_controller.ex4
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
})