Restrict poll replies when fetching activiites for context

This commit is contained in:
rinpatch 2019-05-21 14:35:20 +03:00
parent f28747858b
commit d7c4d029c8
1 changed files with 1 additions and 0 deletions

View File

@ -491,6 +491,7 @@ defp fetch_activities_for_context_query(context, opts) do
from(activity in Activity)
|> restrict_blocked(opts)
|> restrict_poll_replies(opts)
|> restrict_recipients(recipients, opts["user"])
|> where(
[activity],