From: lain Date: Sat, 24 Feb 2018 17:50:02 +0000 (+0100) Subject: . X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=df73a9c6d68429d92805eae7e918461cc720e092;p=akkoma . --- diff --git a/lib/pleroma/web/activity_pub/activity_pub_controller.ex b/lib/pleroma/web/activity_pub/activity_pub_controller.ex index 17c3ca638..edbcb938a 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -35,7 +35,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do def inbox(conn, params) do headers = Enum.into(conn.req_headers, %{}) - if !(String.contains(headers["signature"] || "", params["actor"])) do + if !(String.contains?(headers["signature"] || "", params["actor"])) do Logger.info("Signature not from author, relayed message, ignoring.") else Logger.info("Signature error.")