logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 54af9e145a3311c25dd335b0991d74773f5cbd0d
parent: 25c733f4022f171a69cff9badfa8d625a3ad5b6b
Author: Roger Braun <roger@rogerbraun.net>
Date:   Wed,  2 Aug 2017 12:03:45 +0200

Add some debug info to websub.

Diffstat:

Mlib/pleroma/web/websub/websub_controller.ex2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/pleroma/web/websub/websub_controller.ex b/lib/pleroma/web/websub/websub_controller.ex @@ -20,6 +20,8 @@ defmodule Pleroma.Web.Websub.WebsubController do # TODO: Extract this into the Websub module def websub_subscription_confirmation(conn, %{"id" => id, "hub.mode" => "subscribe", "hub.challenge" => challenge, "hub.topic" => topic} = params) do + Logger.debug("Got websub confirmation") + Logger.debug(inspect(params)) lease_seconds = if params["hub.lease_seconds"] do String.to_integer(params["hub.lease_seconds"]) else