Add metadata.nodeName

This commit is contained in:
Dashie 2018-05-03 10:52:20 +02:00
parent 804497542d
commit 724f096ac7
No known key found for this signature in database
GPG key ID: C2D57B325840B755

View file

@ -40,7 +40,9 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
},
localPosts: Stats.get_stats().status_count || 0
},
metadata: %{}
metadata: %{
nodeName: Keyword.get(@instance, :name)
}
}
conn