projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecfd4b2
)
user: do not leak virtuals in account search
author
William Pitcock
<nenolod@dereferenced.org>
Mon, 6 Aug 2018 10:57:19 +0000
(10:57 +0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Mon, 6 Aug 2018 11:29:02 +0000
(11:29 +0000)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 5e46208c3dadd13f2532b35cf63a93c5eb1bb1ca..748fdbca48ba8dc571d67df4134611f3fc65570a 100644
(file)
--- 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 =