projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebd7d13
)
Readability
author
Mark Felder
<feld@FreeBSD.org>
Tue, 13 Oct 2020 22:16:47 +0000
(17:16 -0500)
committer
Mark Felder
<feld@feld.me>
Fri, 15 Jan 2021 17:37:17 +0000
(11:37 -0600)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index e53a0f313d168fca912d0f4b246211c913155d43..1acb9fa187745602a61f9305d33ba13617824616 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-942,7
+942,7
@@
defmodule Pleroma.User do
deny_follow_blocked = Config.get([:user, :deny_follow_blocked])
cond do
-
followed.is_active == fals
e ->
+
not followed.is_activ
e ->
{:error, "Could not follow user: #{followed.nickname} is deactivated."}
deny_follow_blocked and blocks?(followed, follower) ->