Conversation: Render new participation on update.

This commit is contained in:
lain 2019-08-14 15:56:15 +02:00
parent df81abb68c
commit f73212b2a3

View File

@ -66,7 +66,7 @@ def update_conversation(
|> 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})