mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2025-02-13 16:13:21 +01:00
Only accounts with Service actor_type are considered as bots
This commit is contained in:
parent
b63646169d
commit
ac0344dd24
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
|
|||
0
|
||||
end
|
||||
|
||||
bot = user.actor_type in ["Application", "Service"]
|
||||
bot = user.actor_type == "Service"
|
||||
|
||||
emojis =
|
||||
Enum.map(user.emoji, fn {shortcode, raw_url} ->
|
||||
|
|
Loading…
Reference in a new issue