projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extract apps actions from `MastodonAPIController` to `AppController`
[akkoma]
/
lib
/
pleroma
/
web
/
views
/
streamer_view.ex
diff --git
a/lib/pleroma/web/views/streamer_view.ex
b/lib/pleroma/web/views/streamer_view.ex
index b13030fa0a13ba2a78634f4cc7263558b58a0ba4..a9f14d09ac0de09af00b51946e4bb6a2b192d4aa 100644
(file)
--- a/
lib/pleroma/web/views/streamer_view.ex
+++ b/
lib/pleroma/web/views/streamer_view.ex
@@
-16,7
+16,7
@@
defmodule Pleroma.Web.StreamerView do
event: "update",
payload:
Pleroma.Web.MastodonAPI.StatusView.render(
event: "update",
payload:
Pleroma.Web.MastodonAPI.StatusView.render(
- "s
tatus
.json",
+ "s
how
.json",
activity: activity,
for: user
)
activity: activity,
for: user
)
@@
-43,7
+43,7
@@
defmodule Pleroma.Web.StreamerView do
event: "update",
payload:
Pleroma.Web.MastodonAPI.StatusView.render(
event: "update",
payload:
Pleroma.Web.MastodonAPI.StatusView.render(
- "s
tatus
.json",
+ "s
how
.json",
activity: activity
)
|> Jason.encode!()
activity: activity
)
|> Jason.encode!()