aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-05-13 12:38:13 +0200
committerlain <lain@soykaf.club>2018-05-13 12:38:13 +0200
commitc7a85de35c3ef8cfca447ffdb85cd929258642df (patch)
treecde89f940be50a6ad13d3acc0a0c15d237ca7d96 /lib
parent1027d1f6963b495a5abc67b05447619ce7d429db (diff)
downloadpleroma-c7a85de35c3ef8cfca447ffdb85cd929258642df.tar.gz
Revert "Remove 'unlisted' handling for now."
This reverts commit 1027d1f6963b495a5abc67b05447619ce7d429db.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/activity_pub/activity_pub.ex3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex
index 4bd56d123..491ad3705 100644
--- a/lib/pleroma/web/activity_pub/activity_pub.ex
+++ b/lib/pleroma/web/activity_pub/activity_pub.ex
@@ -233,8 +233,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
q = fetch_activities_query(["https://www.w3.org/ns/activitystreams#Public"], opts)
q
- # Too slow
- # |> restrict_unlisted()
+ |> restrict_unlisted()
|> Repo.all()
|> Enum.reverse()
end