Fix rendering conversations when there's a malformed status
This commit is contained in:
parent
fb090b748a
commit
7d101bc9c5
|
@ -12,7 +12,7 @@ defmodule Pleroma.Web.MastodonAPI.ConversationView do
|
|||
alias Pleroma.Web.MastodonAPI.StatusView
|
||||
|
||||
def render("participations.json", %{participations: participations, for: user}) do
|
||||
render_many(participations, __MODULE__, "participation.json", as: :participation, for: user)
|
||||
safe_render_many(participations, __MODULE__, "participation.json", %{as: :participation, for: user})
|
||||
end
|
||||
|
||||
def render("participation.json", %{participation: participation, for: user}) do
|
||||
|
|
Loading…
Reference in a new issue