pleroma: add NoBot

This commit is contained in:
uwaa 2024-12-30 01:14:55 +00:00
parent 0f59ecfa5b
commit 6868b6a465

View file

@ -53,6 +53,11 @@ public class Account : ASObject
}
}
/// <summary>
/// If true, the user opts-out of automated interactions. Bots must not follow these users, nor reply, favorite, boost, or store posts from these users.
/// </summary>
public bool NoBot => Bio != null && Bio.Contains("#nobot", StringComparison.OrdinalIgnoreCase);
[JsonConstructor()]
internal Account()
{