From 3b197503d2bfa3ed63a2f7269db12a9c9f3fbbea Mon Sep 17 00:00:00 2001 From: Floatingghost Date: Sat, 15 Jun 2024 15:30:02 +0100 Subject: [PATCH] me me stupid person --- lib/pleroma/user.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 223b12223..6b0d90147 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -1629,7 +1629,7 @@ def blocks_domain?(%User{} = user, %User{ap_id: ap_id}) 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