me me stupid person
This commit is contained in:
parent
c0b2bba55e
commit
3b197503d2
1 changed files with 1 additions and 1 deletions
|
@ -1629,7 +1629,7 @@ defmodule Pleroma.User do
|
||||||
end
|
end
|
||||||
|
|
||||||
def blocks_domain?(%User{} = user, url) when is_binary(url) do
|
def blocks_domain?(%User{} = user, url) when is_binary(url) do
|
||||||
%{host: host} = URI.parse(target.ap_id)
|
%{host: host} = URI.parse(url)
|
||||||
Enum.member?(user.domain_blocks, host)
|
Enum.member?(user.domain_blocks, host)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue