Only accounts with Service actor_type are considered as bots
This commit is contained in:
parent
b63646169d
commit
ac0344dd24
|
@ -179,7 +179,7 @@ defp do_render("show.json", %{user: user} = opts) do
|
||||||
0
|
0
|
||||||
end
|
end
|
||||||
|
|
||||||
bot = user.actor_type in ["Application", "Service"]
|
bot = user.actor_type == "Service"
|
||||||
|
|
||||||
emojis =
|
emojis =
|
||||||
Enum.map(user.emoji, fn {shortcode, raw_url} ->
|
Enum.map(user.emoji, fn {shortcode, raw_url} ->
|
||||||
|
|
Loading…
Reference in New Issue