projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bc7628
)
.
author
lain
<lain@soykaf.club>
Sat, 24 Feb 2018 17:50:02 +0000
(18:50 +0100)
committer
lain
<lain@soykaf.club>
Sat, 24 Feb 2018 17:50:02 +0000
(18:50 +0100)
lib/pleroma/web/activity_pub/activity_pub_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/activity_pub_controller.ex
b/lib/pleroma/web/activity_pub/activity_pub_controller.ex
index 17c3ca6386f02b2f86ee6aeeedfa3ac235edab53..edbcb938a0b7eee90fbe3bc019dd055a2560f1fc 100644
(file)
--- 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.")