Skip to content
Snippets Groups Projects
Verified Commit ac0344dd authored by Sergey Suprunenko's avatar Sergey Suprunenko
Browse files

Only accounts with Service actor_type are considered as bots

parent b6364616
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ defp do_render("show.json", %{user: user} = opts) do
0
end
bot = user.actor_type in ["Application", "Service"]
bot = user.actor_type == "Service"
emojis =
Enum.map(user.emoji, fn {shortcode, raw_url} ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment