diff options
author | rinpatch <rinpatch@sdf.org> | 2019-05-21 14:35:20 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-05-21 14:35:20 +0300 |
commit | d7c4d029c82c833278b3640d585235dc704f30d1 (patch) | |
tree | 81d458efbbed3e2029921a56c401b98f7f142978 | |
parent | f28747858bf3265e8b82eb587919f5a89386bed7 (diff) | |
download | pleroma-d7c4d029c82c833278b3640d585235dc704f30d1.tar.gz |
Restrict poll replies when fetching activiites for context
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 1 |
1 files changed, 1 insertions, 0 deletions
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], |