aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/websub
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/web/websub')
-rw-r--r--lib/pleroma/web/websub/websub.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/websub/websub.ex b/lib/pleroma/web/websub/websub.ex
index 17fc42cb5..6bbf13130 100644
--- a/lib/pleroma/web/websub/websub.ex
+++ b/lib/pleroma/web/websub/websub.ex
@@ -212,7 +212,7 @@ defmodule Pleroma.Web.Websub do
cut_off = NaiveDateTime.add(NaiveDateTime.utc_now, delta)
query = from sub in WebsubClientSubscription,
- where: sub.valid_until < ^cut_off and sub.state == "accepted"
+ where: sub.valid_until < ^cut_off
subs = Repo.all(query)