[backend/federation] Don't use a constant for pancakes:pronouns

This commit is contained in:
pancakes 2025-01-29 23:31:21 +10:00 committed by Laura Hausmann
parent 5d938c5f47
commit d2e1f186e8
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
2 changed files with 1 additions and 2 deletions

View file

@ -21,7 +21,6 @@ public static class Constants
public const string MastodonNs = "http://joinmastodon.org/ns";
public const string MisskeyNs = "https://misskey-hub.net/ns";
public const string FedibirdNs = "http://fedibird.com/ns";
public const string PancakesNs = "https://ns.pancakes.gay/as";
public static readonly string[] SystemUsers = ["instance.actor", "relay.actor"];
public const string APMime = "application/activity+json";

View file

@ -131,7 +131,7 @@ public class ASActor : ASObjectWithId
[JC(typeof(VC))]
private XsdString? WebfingerAddressXsd { get; set; }
[J($"{Constants.PancakesNs}#pronouns")]
[J("https://ns.pancakes.gay/as#pronouns")]
[JC(typeof(LocalizedValueObjectConverter))]
public LDLocalizedString? Pronouns { get; set; }