Credo considered harmful
authorrinpatch <rinpatch@sdf.org>
Wed, 25 Sep 2019 13:36:46 +0000 (16:36 +0300)
committerrinpatch <rinpatch@sdf.org>
Wed, 25 Sep 2019 13:36:46 +0000 (16:36 +0300)
lib/pleroma/web/activity_pub/activity_pub_controller.ex

index 60abe1e1dca0138327823a26bbab44669b3ad014..8112f6642b3492a21c71d51995d127a9a26ab00c 100644 (file)
@@ -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
           })