forked from AkkomaGang/akkoma
Credo considered harmful
This commit is contained in:
parent
9d32f38b39
commit
cfd9f73f0d
1 changed files with 2 additions and 2 deletions
|
@ -205,8 +205,8 @@ def outbox(conn, %{"nickname" => nickname, "page" => page?} = params)
|
||||||
if params["max_id"] do
|
if params["max_id"] do
|
||||||
ActivityPub.fetch_user_activities(user, nil, %{
|
ActivityPub.fetch_user_activities(user, nil, %{
|
||||||
"max_id" => params["max_id"],
|
"max_id" => params["max_id"],
|
||||||
# This is a hack because postgres generates inefficient queries when filtering by 'Answer',
|
# This is a hack because postgres generates inefficient queries when filtering by
|
||||||
# poll votes will be hidden by the visibility filter in this case anyway
|
# 'Answer', poll votes will be hidden by the visibility filter in this case anyway
|
||||||
"include_poll_votes" => true,
|
"include_poll_votes" => true,
|
||||||
"limit" => 10
|
"limit" => 10
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue