test with activity

This commit is contained in:
tsmethurst 2021-04-25 15:06:33 +02:00
commit 501c383c02
4 changed files with 164 additions and 19 deletions

View file

@ -86,7 +86,6 @@ func (f *Federator) PostInboxRequestBodyHook(ctx context.Context, r *http.Reques
"url": r.URL.String(),
"aptype": activity.GetTypeName(),
})
l.Debugf("received inbox post request %+v", activity)
if !util.IsInboxPath(r.URL) {
err := fmt.Errorf("url %s did not corresponding to inbox path", r.URL.String())