mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 15:05:45 +00:00
Conversation: Render new participation on update.
This commit is contained in:
parent
df81abb68c
commit
f73212b2a3
|
@ -66,7 +66,7 @@ defmodule Pleroma.Web.PleromaAPI.PleromaAPIController do
|
||||||
|> Participation.get()
|
|> Participation.get()
|
||||||
|
|
||||||
with true <- user.id == participation.user_id,
|
with true <- user.id == participation.user_id,
|
||||||
{:ok, _} <- Participation.set_recipients(participation, recipients) do
|
{:ok, participation} <- Participation.set_recipients(participation, recipients) do
|
||||||
conn
|
conn
|
||||||
|> put_view(ConversationView)
|
|> put_view(ConversationView)
|
||||||
|> render("participation.json", %{participation: participation, for: user})
|
|> render("participation.json", %{participation: participation, for: user})
|
||||||
|
|
Loading…
Reference in a new issue