CamelCase WebSub in log messages
authorMark Felder <feld@FreeBSd.org>
Mon, 19 Mar 2018 17:41:04 +0000 (17:41 +0000)
committerMark Felder <feld@FreeBSd.org>
Mon, 19 Mar 2018 17:41:04 +0000 (17:41 +0000)
lib/pleroma/web/federator/federator.ex
lib/pleroma/web/websub/websub_controller.ex

index a0f827609ec8b7e6e262cead0c7115768115112e..93b766270ba9ed951c2c4c0579ff7d4604eb37a8 100644 (file)
@@ -48,7 +48,7 @@ defmodule Pleroma.Web.Federator do
     with actor when not is_nil(actor) <- User.get_cached_by_ap_id(activity.data["actor"]) do
       {:ok, actor} = WebFinger.ensure_keys_present(actor)
       if ActivityPub.is_public?(activity) do
-        Logger.info(fn -> "Sending #{activity.data["id"]} out via websub" end)
+        Logger.info(fn -> "Sending #{activity.data["id"]} out via WebSub" end)
         Websub.publish(Pleroma.Web.OStatus.feed_path(actor), actor, activity)
 
         Logger.info(fn -> "Sending #{activity.data["id"]} out via Salmon" end)
index 6c9164ec8ec3ab7a1dde4b6c8516ee2000c7f6a4..115b649023df156ff2acfed904c120f1413ffd92 100644 (file)
@@ -20,7 +20,7 @@ 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("Got WebSub confirmation")
     Logger.debug(inspect(params))
     lease_seconds = if params["hub.lease_seconds"] do
       String.to_integer(params["hub.lease_seconds"])