projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f287478
)
Restrict poll replies when fetching activiites for context
author
rinpatch
<rinpatch@sdf.org>
Tue, 21 May 2019 11:35:20 +0000
(14:35 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Tue, 21 May 2019 11:35:20 +0000
(14:35 +0300)
lib/pleroma/web/activity_pub/activity_pub.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/activity_pub.ex
b/lib/pleroma/web/activity_pub/activity_pub.ex
index ce78d895bf9107ec39de7b4bcd474e4b864bf249..c04e6c2b823b49d1ecab71a2d40b79cfab1fddb2 100644
(file)
--- 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],