diff options
author | lain <lain@soykaf.club> | 2019-08-14 15:56:15 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-08-14 15:56:15 +0200 |
commit | f73212b2a36deef631716f3c8a80d7da11cec759 (patch) | |
tree | 3ecc7b83dee6fd4723822ee16adad858141edcf0 | |
parent | df81abb68c46e36dfb2af7aab77e0e57a1a1eb28 (diff) | |
download | pleroma-f73212b2a36deef631716f3c8a80d7da11cec759.tar.gz |
Conversation: Render new participation on update.
-rw-r--r-- | lib/pleroma/web/pleroma_api/pleroma_api_controller.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/pleroma_api/pleroma_api_controller.ex b/lib/pleroma/web/pleroma_api/pleroma_api_controller.ex index b5c3d2728..6d74d418e 100644 --- a/lib/pleroma/web/pleroma_api/pleroma_api_controller.ex +++ b/lib/pleroma/web/pleroma_api/pleroma_api_controller.ex @@ -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}) |