Commit ecfd4b21 authored by kaniini's avatar kaniini
Browse files

user: hide virtual actors from statistics queries

parent de6be63b
...@@ -578,7 +578,11 @@ def unblock_domain(user, domain) do ...@@ -578,7 +578,11 @@ def unblock_domain(user, domain) do
end end
def local_user_query() do def local_user_query() do
from(u in User, where: u.local == true) from(
u in User,
where: u.local == true,
where: not is_nil(u.nickname)
end end
def deactivate(%User{} = user) do def deactivate(%User{} = user) do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment