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
|
@ -653,7 +653,11 @@ def publish_one(%{inbox: inbox, json: json, actor: actor, id: id}) do
|
||||||
@httpoison.post(
|
@httpoison.post(
|
||||||
inbox,
|
inbox,
|
||||||
json,
|
json,
|
||||||
[{"Content-Type", "application/activity+json"}, {"signature", signature}],
|
[
|
||||||
|
{"Content-Type", "application/activity+json"},
|
||||||
|
{"signature", signature},
|
||||||
|
{"digest", digest}
|
||||||
|
],
|
||||||
hackney: [pool: :default]
|
hackney: [pool: :default]
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue