mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Conversation: Render new participation on update.
This commit is contained in:
parent
df81abb68c
commit
f73212b2a3
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ defmodule Pleroma.Web.PleromaAPI.PleromaAPIController do
|
|||
|> Participation.get()
|
||||
|
||||
with true <- user.id == participation.user_id,
|
||||
{:ok, _} <- Participation.set_recipients(participation, recipients) do
|
||||
{:ok, participation} <- Participation.set_recipients(participation, recipients) do
|
||||
conn
|
||||
|> put_view(ConversationView)
|
||||
|> render("participation.json", %{participation: participation, for: user})
|
||||
|
|
Loading…
Reference in a new issue