projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
745072b
)
There are no symbols in JSON.
author
lain
<lain@soykaf.club>
Sat, 26 May 2018 13:20:21 +0000
(15:20 +0200)
committer
lain
<lain@soykaf.club>
Sat, 26 May 2018 13:20:21 +0000
(15:20 +0200)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 75e173d0c8eead31074fff12d19a21f901506dce..b1b935a0f4e95919f2a10e31999c976b16a48915 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-174,7
+174,7
@@
defmodule Pleroma.User do
should_direct_follow =
cond do
# if the account is locked, don't pre-create the relationship
- user_info
.locked
== true ->
+ user_info
["locked"]
== true ->
false
# if the users are blocking each other, we shouldn't even be here, but check for it anyway