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
def local_user_query() do
from(u in User, where: u.local == true)
u in User,
where: u.local == true,
where: not is_nil(u.nickname)
def deactivate(%User{} = user) do
Supports Markdown
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