From 9f15937fe6774f8cf3698d096fabe755f57e4fcf Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 10 May 2017 19:12:40 +0200 Subject: [PATCH] Actually guess 3 days... --- lib/pleroma/web/websub/websub_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/websub/websub_controller.ex b/lib/pleroma/web/websub/websub_controller.ex index c47c820bc..188144a88 100644 --- a/lib/pleroma/web/websub/websub_controller.ex +++ b/lib/pleroma/web/websub/websub_controller.ex @@ -24,7 +24,7 @@ defmodule Pleroma.Web.Websub.WebsubController do String.to_integer(params["hub.lease_seconds"]) else # Guess 3 days - 60 * 24 * 3 + 60 * 60 * 24 * 3 end with %WebsubClientSubscription{} = websub <- Repo.get_by(WebsubClientSubscription, id: id, topic: topic) do -- 2.45.2