mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-23 05:56:29 +00:00
Fixed #577: Send bot property down API right
This commit is contained in:
parent
d6c9ba0819
commit
1fb02b06e1
1 changed files with 2 additions and 2 deletions
|
@ -958,8 +958,8 @@ class Identity(StatorModel):
|
|||
else []
|
||||
),
|
||||
"emojis": [emoji.to_mastodon_json() for emoji in emojis],
|
||||
"bot": False,
|
||||
"group": False,
|
||||
"bot": self.actor_type.lower() in ["service", "application"],
|
||||
"group": self.actor_type.lower() == "group",
|
||||
"discoverable": self.discoverable,
|
||||
"suspended": False,
|
||||
"limited": False,
|
||||
|
|
Loading…
Reference in a new issue