commit: d7368ea272c86a0b6b22d57d0cb5fb01d502978a
parent: ab4b4538ce412c15a80a17cb769aba3f82664b3e
Author: lambda <pleromagit@rogerbraun.net>
Date: Wed, 1 Aug 2018 10:37:28 +0000
Merge branch 'bugfix/digest-legacy-compat' into 'develop'
activitypub: actually send digest header when federating
See merge request pleroma/pleroma!261
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex
@@ -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