1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-23 14:55:03 +01:00

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