mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
activitypub: actually send digest header when federating
this is needed for backwards compatibility with non-digest pleroma instances
This commit is contained in:
parent
ab4b4538ce
commit
3be58ad34e
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue