StreamerView: Actually send Chats, not ChatMessages.
This commit is contained in:
parent
863c02b25d
commit
767ce8b803
2 changed files with 3 additions and 3 deletions
|
|
@ -16,9 +16,9 @@ defmodule Pleroma.Web.StreamerView do
|
|||
chat = Chat.get(user.id, hd(recipients -- [user.ap_id]))
|
||||
|
||||
representation =
|
||||
Pleroma.Web.PleromaAPI.ChatMessageView.render(
|
||||
Pleroma.Web.PleromaAPI.ChatView.render(
|
||||
"show.json",
|
||||
%{object: object, chat: chat}
|
||||
%{message: object, chat: chat}
|
||||
)
|
||||
|
||||
%{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue