Restrict poll replies when fetching activiites for context
This commit is contained in:
parent
f28747858b
commit
d7c4d029c8
|
@ -491,6 +491,7 @@ defp fetch_activities_for_context_query(context, opts) do
|
||||||
|
|
||||||
from(activity in Activity)
|
from(activity in Activity)
|
||||||
|> restrict_blocked(opts)
|
|> restrict_blocked(opts)
|
||||||
|
|> restrict_poll_replies(opts)
|
||||||
|> restrict_recipients(recipients, opts["user"])
|
|> restrict_recipients(recipients, opts["user"])
|
||||||
|> where(
|
|> where(
|
||||||
[activity],
|
[activity],
|
||||||
|
|
Loading…
Reference in New Issue