Commit 3be58ad3 authored by Ariadne Conill's avatar Ariadne Conill

activitypub: actually send digest header when federating

this is needed for backwards compatibility with non-digest pleroma instances
parent ab4b4538
......@@ -653,7 +653,11 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub 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