From: Ivan Tashkinov Date: Wed, 23 Oct 2019 14:31:02 +0000 (+0300) Subject: [#1304] Adjusted User.Info references from Notification. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=065e9fac12c1ea06eca2ff55a8253d4bc23362e1;p=akkoma [#1304] Adjusted User.Info references from Notification. --- diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index 83844d3be..b7ecf51e4 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -61,10 +61,10 @@ defmodule Pleroma.Notification do defp exclude_blocked(query, user) do query - |> where([n, a], a.actor not in ^user.info.blocks) + |> where([n, a], a.actor not in ^user.blocks) |> where( [n, a], - fragment("substring(? from '.*://([^/]*)')", a.actor) not in ^user.info.domain_blocks + fragment("substring(? from '.*://([^/]*)')", a.actor) not in ^user.domain_blocks ) end