summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-25 16:36:46 +0300
committerrinpatch <rinpatch@sdf.org>2019-09-27 00:31:07 +0300
commit13e7753382619906a27727f0cec20fdda8089371 (patch)
treedfb55c24f476a1cfcc0863d702f6fdce9baf09db
parent821fb2a5841ba68593390939470aec5d8a9ad6d5 (diff)
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 9d0e4c7ef..a6a3ef067 100644
--- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex
+++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex
@@ -152,8 +152,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
})