projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df81abb
)
Conversation: Render new participation on update.
author
lain
<lain@soykaf.club>
Wed, 14 Aug 2019 13:56:15 +0000
(15:56 +0200)
committer
lain
<lain@soykaf.club>
Wed, 14 Aug 2019 13:56:15 +0000
(15:56 +0200)
lib/pleroma/web/pleroma_api/pleroma_api_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/pleroma_api/pleroma_api_controller.ex
b/lib/pleroma/web/pleroma_api/pleroma_api_controller.ex
index b5c3d27286da15842f9e4223216093e7a2d78749..6d74d418ea2a4c32a0273e4da3366bc23e9d7028 100644
(file)
--- 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})