From: William Pitcock Date: Wed, 1 Aug 2018 10:22:03 +0000 (+0000) Subject: activitypub: actually send digest header when federating X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3be58ad34ea69b1764245546c4d67a92e4d70328;p=akkoma activitypub: actually send digest header when federating this is needed for backwards compatibility with non-digest pleroma instances --- diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 90a39ce69..ec605b694 100644 --- 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