X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fstats.ex;h=8d2809bbbe546bce9399f069d72f11027da5ba45;hb=8bed6ea922dbc1cfb8166fea6ce344d3618b3d52;hp=6763786a7696a8a7a09332e1585fd8a345446a25;hpb=8b88e2a6e2b3a777ca99bf94676ab47f2d4cc0ea;p=akkoma diff --git a/lib/pleroma/stats.ex b/lib/pleroma/stats.ex index 6763786a7..8d2809bbb 100644 --- a/lib/pleroma/stats.ex +++ b/lib/pleroma/stats.ex @@ -82,8 +82,7 @@ defmodule Pleroma.Stats do where: u.deactivated != true, where: u.local == true, where: not is_nil(u.nickname), - where: fragment("? not like 'internal.%'", u.nickname), - where: fragment("? not like '%/relay'", u.ap_id) + where: not u.invisible ) user_count = Repo.aggregate(users_query, :count, :id)