Commit ef6c64a5 authored by kaniini's avatar kaniini
Browse files

activitypub: fix restrict_blocked()

parent c196754b
Pipeline #4601 failed with stages
in 7 minutes and 21 seconds
......@@ -509,8 +509,8 @@ defp restrict_recent(query, _) 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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment