[backend/federation] Return user aliases in webfinger response

This commit is contained in:
Laura Hausmann 2024-08-14 01:57:21 +02:00
parent b37f02846b
commit 7b550fe81b
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -82,6 +82,10 @@ public class WellKnownController(IOptions<Config.InstanceSection> config, Databa
Rel = "http://ostatus.org/schema/1.0/subscribe", Rel = "http://ostatus.org/schema/1.0/subscribe",
Template = $"https://{config.Value.WebDomain}/authorize-follow?acct={{uri}}" Template = $"https://{config.Value.WebDomain}/authorize-follow?acct={{uri}}"
} }
],
Aliases = [
user.GetPublicUrl(config.Value),
user.GetPublicUri(config.Value)
] ]
}; };
} }