diff options
| author | lain <lain@soykaf.club> | 2020-04-22 19:02:22 +0200 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-04-22 19:02:22 +0200 |
| commit | f5bda09de648a6de3151c8614005ebc70447facb (patch) | |
| tree | 661fffe62d5534515960ee6213c85b727813a119 /lib | |
| parent | 8b88e2a6e2b3a777ca99bf94676ab47f2d4cc0ea (diff) | |
| download | pleroma-f5bda09de648a6de3151c8614005ebc70447facb.tar.gz pleroma-f5bda09de648a6de3151c8614005ebc70447facb.zip | |
Stats: Use `invisible` property for filtering.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/pleroma/stats.ex | 3 |
1 files changed, 1 insertions, 2 deletions
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) |
