[#2456] Dropped support for embedded pleroma/account/relationship in statuses and notifications.
This commit is contained in:
parent
b2924ab1fb
commit
14a49a0483
14 changed files with 52 additions and 174 deletions
|
|
@ -103,9 +103,4 @@ defmodule Pleroma.Web.ControllerHelper do
|
|||
def put_if_exist(map, _key, nil), do: map
|
||||
|
||||
def put_if_exist(map, key, value), do: Map.put(map, key, value)
|
||||
|
||||
@doc "Whether to skip `account.pleroma.relationship` rendering for statuses/notifications"
|
||||
def skip_relationships?(params) do
|
||||
not truthy_param?(params["with_relationships"])
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue