projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d1355
)
ActivityPub user view: include tag if present.
author
eal
<eal@waifu.club>
Mon, 13 Aug 2018 13:11:48 +0000
(16:11 +0300)
committer
eal
<eal@waifu.club>
Mon, 13 Aug 2018 13:11:48 +0000
(16:11 +0300)
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 41bfe5048a886e9e3266620f73abe4e5c1a1af5d..fdb2b8ea9e444a6803274a3eada9ff11b4d9da68 100644
(file)
--- a/
lib/pleroma/web/activity_pub/views/user_view.ex
+++ b/
lib/pleroma/web/activity_pub/views/user_view.ex
@@
-42,7
+42,8
@@
defmodule Pleroma.Web.ActivityPub.UserView do
"image" => %{
"type" => "Image",
"url" => User.banner_url(user)
- }
+ },
+ "tag" => user.info["source_data"]["tag"] || []
}
|> Map.merge(Utils.make_json_ld_header())
end