Conversation: Render new participation on update.
This commit is contained in:
parent
df81abb68c
commit
f73212b2a3
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user