From 724f096ac76f9f4c124721e3f0c2675655d7a8d0 Mon Sep 17 00:00:00 2001 From: Dashie Date: Thu, 3 May 2018 10:52:20 +0200 Subject: [PATCH] Add metadata.nodeName --- lib/pleroma/web/nodeinfo/nodeinfo_controller.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex index 534a858ae..83ad4f284 100644 --- 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 -- 2.45.2