pleroma: add NoBot
This commit is contained in:
parent
0f59ecfa5b
commit
6868b6a465
1 changed files with 5 additions and 0 deletions
|
@ -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()]
|
[JsonConstructor()]
|
||||||
internal Account()
|
internal Account()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue