From: William Pitcock Date: Tue, 20 Nov 2018 18:58:08 +0000 (+0000) Subject: activitypub: fix restrict_blocked() X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=ef6c64a5d24085b05162ebd3a60cf2975386edea;p=akkoma activitypub: fix restrict_blocked() --- diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 54ca891b9..47836ae13 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -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,