projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
151da34
)
Just sign with an empty string if needed.
author
Roger Braun
<roger@rogerbraun.net>
Thu, 4 May 2017 07:57:11 +0000
(09:57 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Thu, 4 May 2017 07:57:11 +0000
(09:57 +0200)
lib/pleroma/web/websub/websub.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/websub/websub.ex
b/lib/pleroma/web/websub/websub.ex
index c1532b6ce4393123e4765a747ec1e23219d0e41a..ba86db50e6ede23f17e682783159099531a3e5e4 100644
(file)
--- a/
lib/pleroma/web/websub/websub.ex
+++ b/
lib/pleroma/web/websub/websub.ex
@@
-43,7
+43,7
@@
defmodule Pleroma.Web.Websub do
|> :xmerl.export_simple(:xmerl_xml)
|> to_string
- signature = sign(sub.secret, response)
+ signature = sign(sub.secret
|| ""
, response)
Logger.debug("Pushing to #{sub.callback}")
HTTPoison.post(sub.callback, response, [
{"Content-Type", "application/atom+xml"},