diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 5e46208c3..748fdbca4 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -499,7 +499,8 @@ def search(query, resolve) do u.nickname, u.name ) - } + }, + where: not is_nil(u.nickname) ) q =