Extract note handler.
[akkoma] / lib / pleroma / web / websub / websub_controller.ex
index c47c820bc93475493f8f0a71397b3172bc8ce311..188144a886e23339d46d6a092b1e32c0a04c56e3 100644 (file)
@@ -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