projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8044975
)
Add metadata.nodeName
author
Dashie
<dashie@sigpipe.me>
Thu, 3 May 2018 08:52:20 +0000
(10:52 +0200)
committer
Dashie
<dashie@sigpipe.me>
Thu, 3 May 2018 08:52:20 +0000
(10:52 +0200)
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
index 534a858ae95ae70433bb8db6266a4f9cb1d6d787..83ad4f284815997cf4edd86e7ebc230cbe5be514 100644
(file)
--- a/
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
+++ b/
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
@@
-40,7
+40,9
@@
defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
},
localPosts: Stats.get_stats().status_count || 0
},
- metadata: %{}
+ metadata: %{
+ nodeName: Keyword.get(@instance, :name)
+ }
}
conn