projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2887f4f
)
user: fix user.info lookup in User.locked?()
author
William Pitcock
<nenolod@dereferenced.org>
Tue, 20 Nov 2018 18:41:44 +0000
(18:41 +0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Tue, 20 Nov 2018 18:41:44 +0000
(18:41 +0000)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 03fe2f1d426d96fca1e764e07a70d9ceca358889..c7de033473053b2c3096066ef0ff6de11e3f71d1 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-286,7
+286,7
@@
defmodule Pleroma.User do
end
def locked?(%User{} = user) do
- user.info
["locked"]
|| false
+ user.info
.locked
|| false
end
def get_by_ap_id(ap_id) do