user: do not leak virtuals in account search

This commit is contained in:
William Pitcock 2018-08-06 10:57:19 +00:00
parent ecfd4b2106
commit d91fd48edf

View file

@ -499,7 +499,8 @@ defmodule Pleroma.User do
u.nickname, u.nickname,
u.name u.name
) )
} },
where: not is_nil(u.nickname)
) )
q = q =