Merge branch 'fix/conversations-rendering' into 'develop'
Fix rendering conversations when there's a malformed status Closes #1401 See merge request pleroma/pleroma!1973
This commit is contained in:
commit
09b4f7269e
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,10 @@ 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