mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 11:19:19 +00:00
Apply suggestion to lib/pleroma/user.ex
This commit is contained in:
parent
8cfaab8f04
commit
457821adb0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue