From: Dashie Date: Thu, 3 May 2018 08:52:20 +0000 (+0200) Subject: Add metadata.nodeName X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=724f096ac76f9f4c124721e3f0c2675655d7a8d0;p=akkoma Add metadata.nodeName --- 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