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

activitypub: actually send digest header when federating

See merge request pleroma/pleroma!261
This commit is contained in:
lambda 2018-08-01 10:37:28 +00:00
commit d7368ea272

View file

@ -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