Extract status actions from MastodonAPIController into StatusController
This commit is contained in:
parent
219771288c
commit
98d1347a4e
13 changed files with 354 additions and 328 deletions
|
|
@ -16,7 +16,7 @@ defmodule Pleroma.Web.StreamerView do
|
|||
event: "update",
|
||||
payload:
|
||||
Pleroma.Web.MastodonAPI.StatusView.render(
|
||||
"status.json",
|
||||
"show.json",
|
||||
activity: activity,
|
||||
for: user
|
||||
)
|
||||
|
|
@ -43,7 +43,7 @@ defmodule Pleroma.Web.StreamerView do
|
|||
event: "update",
|
||||
payload:
|
||||
Pleroma.Web.MastodonAPI.StatusView.render(
|
||||
"status.json",
|
||||
"show.json",
|
||||
activity: activity
|
||||
)
|
||||
|> Jason.encode!()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue