From: Thibaut Girka Date: Sat, 3 Aug 2019 17:24:57 +0000 (+0000) Subject: Add preferredUsername to service actors so Mastodon can resolve them X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a187dbb326f8fa3dfe19a113f4db5ed0a95435cb;p=akkoma Add preferredUsername to service actors so Mastodon can resolve them --- diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex index 639519e0a..4a83ac980 100644 --- a/lib/pleroma/web/activity_pub/views/user_view.ex +++ b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -45,6 +45,7 @@ defmodule Pleroma.Web.ActivityPub.UserView 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.",