mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-11 09:45:25 +00:00
activitypub: fix restrict_blocked()
This commit is contained in:
parent
c196754b4d
commit
ef6c64a5d2
1 changed files with 2 additions and 2 deletions
|
@ -509,8 +509,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
end
|
||||
|
||||
defp restrict_blocked(query, %{"blocking_user" => %User{info: info}}) do
|
||||
blocks = info["blocks"] || []
|
||||
domain_blocks = info["domain_blocks"] || []
|
||||
blocks = info.blocks || []
|
||||
domain_blocks = info.domain_blocks || []
|
||||
|
||||
from(
|
||||
activity in query,
|
||||
|
|
Loading…
Reference in a new issue