fix /inbox for Relay

This commit is contained in:
Maksim Pechnikov 2019-08-22 22:39:06 +03:00
commit 8dc6a6b210
4 changed files with 17 additions and 7 deletions

View file

@ -50,9 +50,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
digest = "SHA-256=" <> (:crypto.hash(:sha256, json) |> Base.encode64())
date =
NaiveDateTime.utc_now()
|> Timex.format!("{WDshort}, {0D} {Mshort} {YYYY} {h24}:{m}:{s} GMT")
date = Pleroma.Signature.signed_date()
signature =
Pleroma.Signature.sign(actor, %{