From: William Pitcock Date: Mon, 6 Aug 2018 10:57:19 +0000 (+0000) Subject: user: do not leak virtuals in account search X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d91fd48edf8241c5d0b7dc61c36fa2c3e8c1ccd4;p=akkoma user: do not leak virtuals in account search --- 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 @@ defmodule Pleroma.User do u.nickname, u.name ) - } + }, + where: not is_nil(u.nickname) ) q =