Credo considered harmful

This commit is contained in:
rinpatch 2019-09-25 16:36:46 +03:00
parent 821fb2a584
commit 13e7753382
1 changed files with 2 additions and 2 deletions

View File

@ -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
})