Fix rendering conversations when there's a malformed status

This commit is contained in:
Mark Felder 2019-11-11 18:29:55 -06:00
parent fb090b748a
commit 7d101bc9c5

View file

@ -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