Only accounts with Service actor_type are considered as bots

This commit is contained in:
Sergey Suprunenko 2020-06-19 21:19:00 +02:00
parent b63646169d
commit ac0344dd24
No known key found for this signature in database
GPG Key ID: 5DCA7D1BE3914F9C

View File

@ -179,7 +179,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView 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} ->