Apply suggestion to lib/pleroma/user.ex
authorSadposter <hannah+pleroma@coffee-and-dreams.uk>
Tue, 10 Dec 2019 18:49:41 +0000 (18:49 +0000)
committerSadposter <hannah+pleroma@coffee-and-dreams.uk>
Tue, 10 Dec 2019 18:49:41 +0000 (18:49 +0000)
lib/pleroma/user.ex

index cebadc8ab0c8f830d0cb063242114deb5fd3faff..706aee2ffb8d6aa6eef91a9b3bfe7a509f1d3bf2 100644 (file)
@@ -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