mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Readability
This commit is contained in:
parent
ebd7d1365b
commit
6c50ac1d3f
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@ defmodule Pleroma.User do
|
|||
deny_follow_blocked = Config.get([:user, :deny_follow_blocked])
|
||||
|
||||
cond do
|
||||
followed.is_active == false ->
|
||||
not followed.is_active ->
|
||||
{:error, "Could not follow user: #{followed.nickname} is deactivated."}
|
||||
|
||||
deny_follow_blocked and blocks?(followed, follower) ->
|
||||
|
|
Loading…
Reference in a new issue