Don't embed the first page in inboxes/outboxes and refactor the views to
follow View/Controller pattern Note that I mentioned the change in 1.1 section because I intend to backport this, if this is not needed I will move it back to Unreleased.
This commit is contained in:
parent
29dd8ab9c0
commit
d87be2ec96
6 changed files with 90 additions and 88 deletions
|
|
@ -834,7 +834,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
|
||||
defp restrict_muted_reblogs(query, _), do: query
|
||||
|
||||
defp exclude_poll_votes(query, %{"include_poll_votes" => "true"}), do: query
|
||||
defp exclude_poll_votes(query, %{"include_poll_votes" => true}), do: query
|
||||
|
||||
defp exclude_poll_votes(query, _) do
|
||||
if has_named_binding?(query, :object) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue