projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37e406a
)
Add banner image to user json.
author
lain
<lain@soykaf.club>
Thu, 22 Feb 2018 07:24:18 +0000
(08:24 +0100)
committer
lain
<lain@soykaf.club>
Thu, 22 Feb 2018 07:24:18 +0000
(08:24 +0100)
lib/pleroma/web/activity_pub/views/user_view.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/views/user_view.ex
b/lib/pleroma/web/activity_pub/views/user_view.ex
index b3b02c4fba230a989288fc2deac55006ff8b65b9..b96ac7b27855bf3b038c416cae9c89d6a6cebee0 100644
(file)
--- a/
lib/pleroma/web/activity_pub/views/user_view.ex
+++ b/
lib/pleroma/web/activity_pub/views/user_view.ex
@@
-45,6
+45,10
@@
defmodule Pleroma.Web.ActivityPub.UserView do
"icon" => %{
"type" => "Image",
"url" => User.avatar_url(user)
+ },
+ "image" => %{
+ "type" => "Image",
+ "url" => User.banner_url(user)
}
}
end