From: rinpatch Date: Tue, 21 May 2019 11:35:20 +0000 (+0300) Subject: Restrict poll replies when fetching activiites for context X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d7c4d029c82c833278b3640d585235dc704f30d1;p=akkoma Restrict poll replies when fetching activiites for context --- diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index ce78d895b..c04e6c2b8 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -491,6 +491,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do from(activity in Activity) |> restrict_blocked(opts) + |> restrict_poll_replies(opts) |> restrict_recipients(recipients, opts["user"]) |> where( [activity],