mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 19:14:03 +00:00
Credo considered harmful
This commit is contained in:
parent
c7d8ccd0c4
commit
f2880d7d29
|
@ -239,8 +239,8 @@ def outbox(conn, %{"nickname" => nickname, "page" => page?} = params)
|
|||
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
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue