From: Roger Braun Date: Wed, 10 May 2017 17:12:40 +0000 (+0200) Subject: Actually guess 3 days... X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=9f15937fe6774f8cf3698d096fabe755f57e4fcf;p=akkoma Actually guess 3 days... --- 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