projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Credo fixes.
[akkoma]
/
lib
/
pleroma
/
web
/
pleroma_api
/
views
/
chat_view.ex
diff --git
a/lib/pleroma/web/pleroma_api/views/chat_view.ex
b/lib/pleroma/web/pleroma_api/views/chat_view.ex
index 1e9ef4356d9ca473282940146e75a29bf6af346b..bc3af5ef511853f9dfe10986b0d27e1090b7e062 100644
(file)
--- a/
lib/pleroma/web/pleroma_api/views/chat_view.ex
+++ b/
lib/pleroma/web/pleroma_api/views/chat_view.ex
@@
-14,8
+14,7
@@
defmodule Pleroma.Web.PleromaAPI.ChatView do
%{
id: chat.id |> to_string(),
- recipient: chat.recipient,
- recipient_account: AccountView.render("show.json", Map.put(opts, :user, recipient)),
+ account: AccountView.render("show.json", Map.put(opts, :user, recipient)),
unread: chat.unread
}
end