Add preferredUsername to service actors so Mastodon can resolve them

This commit is contained in:
Thibaut Girka 2019-08-03 17:24:57 +00:00
parent e553a17e98
commit a187dbb326

View File

@ -45,6 +45,7 @@ def render("service.json", %{user: user}) do
"following" => "#{user.ap_id}/following",
"followers" => "#{user.ap_id}/followers",
"inbox" => "#{user.ap_id}/inbox",
"preferredUsername" => user.nickname,
"name" => "Pleroma",
"summary" =>
"An internal service actor for this Pleroma instance. No user-serviceable parts inside.",