From: Sadposter Date: Tue, 10 Dec 2019 18:49:41 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/user.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=457821adb07d899fc5094de46027b482e07daf9f;p=akkoma Apply suggestion to lib/pleroma/user.ex --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index cebadc8ab..706aee2ff 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -1143,7 +1143,7 @@ defmodule Pleroma.User do 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