projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SideEffects: Ensure a chat is present before streaming something out.
[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 949e2ed374076c2634553d6f63c083d867a15be0..5e953d7706d6c9ff161966110764edd83d7ada41 100644
(file)
--- a/
lib/pleroma/web/views/streamer_view.ex
+++ b/
lib/pleroma/web/views/streamer_view.ex
@@
-16,9
+16,9
@@
defmodule Pleroma.Web.StreamerView do
chat = Chat.get(user.id, hd(recipients -- [user.ap_id]))
representation =
- Pleroma.Web.PleromaAPI.Chat
Message
View.render(
+ Pleroma.Web.PleromaAPI.ChatView.render(
"show.json",
- %{
object
: object, chat: chat}
+ %{
message
: object, chat: chat}
)
%{