projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Expand and authorize streams in Streamer directly
[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 44386887851e820566af1d31256c57b22a28ff6b..237b29ded98ba4082ba6b49e22f7efb267400e42 100644
(file)
--- a/
lib/pleroma/web/views/streamer_view.ex
+++ b/
lib/pleroma/web/views/streamer_view.ex
@@
-25,7
+25,7
@@
defmodule Pleroma.Web.StreamerView do
|> Jason.encode!()
end
- def render("notification.json", %
User{} = user, %Notification{} = notify
) do
+ def render("notification.json", %
Notification{} = notify, %User{} = user
) do
%{
event: "notification",
payload: