mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
[#1304] Adjusted User.Info references from Notification.
This commit is contained in:
parent
8cc809e44e
commit
065e9fac12
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue