Add preferredUsername to service actors so Mastodon can resolve them
This commit is contained in:
parent
e553a17e98
commit
a187dbb326
@ -45,6 +45,7 @@ def render("service.json", %{user: user}) do
|
|||||||
"following" => "#{user.ap_id}/following",
|
"following" => "#{user.ap_id}/following",
|
||||||
"followers" => "#{user.ap_id}/followers",
|
"followers" => "#{user.ap_id}/followers",
|
||||||
"inbox" => "#{user.ap_id}/inbox",
|
"inbox" => "#{user.ap_id}/inbox",
|
||||||
|
"preferredUsername" => user.nickname,
|
||||||
"name" => "Pleroma",
|
"name" => "Pleroma",
|
||||||
"summary" =>
|
"summary" =>
|
||||||
"An internal service actor for this Pleroma instance. No user-serviceable parts inside.",
|
"An internal service actor for this Pleroma instance. No user-serviceable parts inside.",
|
||||||
|
Loading…
Reference in New Issue
Block a user