From: Sergey Suprunenko Date: Fri, 19 Jun 2020 19:19:00 +0000 (+0200) Subject: Only accounts with Service actor_type are considered as bots X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=ac0344dd24d520ab61e835b9caea97529f4c1dad;p=akkoma Only accounts with Service actor_type are considered as bots --- diff --git a/lib/pleroma/web/mastodon_api/views/account_view.ex b/lib/pleroma/web/mastodon_api/views/account_view.ex index 68beb69b8..6c40b8ccd 100644 --- a/lib/pleroma/web/mastodon_api/views/account_view.ex +++ b/lib/pleroma/web/mastodon_api/views/account_view.ex @@ -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} ->