Add metadata.nodeName
This commit is contained in:
parent
804497542d
commit
724f096ac7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue