forked from AkkomaGang/akkoma
Add metadata.nodeName
This commit is contained in:
parent
804497542d
commit
724f096ac7
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue