Commit d7368ea2 authored by lain's avatar lain
Browse files

Merge branch 'bugfix/digest-legacy-compat' into 'develop'

activitypub: actually send digest header when federating

See merge request !261
parents ab4b4538 3be58ad3
Pipeline #2869 passed with stages
in 4 minutes and 53 seconds
......@@ -653,7 +653,11 @@ def publish_one(%{inbox: inbox, json: json, actor: actor, id: id}) do
@httpoison.post(
inbox,
json,
[{"Content-Type", "application/activity+json"}, {"signature", signature}],
[
{"Content-Type", "application/activity+json"},
{"signature", signature},
{"digest", digest}
],
hackney: [pool: :default]
)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment