me me stupid person
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build-amd64 Pipeline was successful
ci/woodpecker/pr/build-arm64 Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful

This commit is contained in:
Floatingghost 2024-06-15 15:30:02 +01:00
parent c0b2bba55e
commit 3b197503d2

View file

@ -1629,7 +1629,7 @@ defmodule Pleroma.User do
end
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)
end