Commit 457821ad authored by Sadposter's avatar Sadposter

Apply suggestion to lib/pleroma/user.ex

parent 8cfaab8f
Pipeline #20942 passed with stages
in 6 minutes and 36 seconds
......@@ -1143,7 +1143,7 @@ def muted_notifications?(%User{} = user, %User{} = target),
def blocks?(nil, _), do: false
def blocks?(%User{} = user, %User{} = target) do
blocks_ap_id?(user, target) ||
blocks_user?(user, target) ||
(!User.following?(user, target) && blocks_domain?(user, target))
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment