aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-10-23 17:31:02 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-10-23 17:31:02 +0300
commit065e9fac12c1ea06eca2ff55a8253d4bc23362e1 (patch)
treed5f4aed4a9591a662e2639bf7fc7b1a5840d97b4
parent8cc809e44e3a899f93061c4c5f68d9736d79d79e (diff)
downloadpleroma-065e9fac12c1ea06eca2ff55a8253d4bc23362e1.tar.gz
[#1304] Adjusted User.Info references from Notification.
-rw-r--r--lib/pleroma/notification.ex4
1 files changed, 2 insertions, 2 deletions
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