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

index 80f3b4e0c52239562b15b712915b276d157a6cd0..c59480ddfaa2760f5499c9cb70849a2e81f56be6 100644 (file)
@@ -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
           })