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:
commit
d7368ea272
1 changed files with 5 additions and 1 deletions
|
@ -653,7 +653,11 @@ def publish_one(%{inbox: inbox, json: json, actor: actor, id: id}) 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