Merge branch '1304-user-info-deprecation' into 'develop'
[akkoma] / lib / pleroma / notification.ex
index 83844d3be4c58f78f81f17e6fc6e47a71af3ad1b..b7ecf51e4681fc9a25b8d1cd9d596c928f930bba 100644 (file)
@@ -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