Verified Commit 724f096a authored by dashie's avatar dashie
Browse files

Add metadata.nodeName

parent 80449754
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment