activitypub transmogrifier: rewrite incoming hashtags
[akkoma] / lib / pleroma / web / http_signatures / http_signatures.ex
index 09ac4a3748c539c37c3ab0dcdd303ef85988f3f5..0ea3b75541b48a55d5add826ad8e4e095e12c5e1 100644 (file)
@@ -36,7 +36,7 @@ defmodule Pleroma.Web.HTTPSignatures do
       if validate_conn(conn, public_key) do
         true
       else
-        Logger.debug("Could not validate, re-fetching user and trying one more time.")
+        Logger.debug("Could not validate, re-fetching user and trying one more time")
         # Fetch user anew and try one more time
         with actor_id <- conn.params["actor"],
              {:ok, _user} <- ActivityPub.make_user_from_ap_id(actor_id),
@@ -47,6 +47,7 @@ defmodule Pleroma.Web.HTTPSignatures do
     else
       e ->
         Logger.debug("Could not public key!")
+        false
     end
   end