activitypub: fix restrict_blocked()
This commit is contained in:
parent
c196754b4d
commit
ef6c64a5d2
@ -509,8 +509,8 @@ defp restrict_recent(query, _) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
defp restrict_blocked(query, %{"blocking_user" => %User{info: info}}) do
|
defp restrict_blocked(query, %{"blocking_user" => %User{info: info}}) do
|
||||||
blocks = info["blocks"] || []
|
blocks = info.blocks || []
|
||||||
domain_blocks = info["domain_blocks"] || []
|
domain_blocks = info.domain_blocks || []
|
||||||
|
|
||||||
from(
|
from(
|
||||||
activity in query,
|
activity in query,
|
||||||
|
Loading…
Reference in New Issue
Block a user