Fix Accept IDs

Prepend with hash, not hyphen

This closes #16
pull/24/head
Matt Baer 6 years ago
parent 78953f27f0
commit ecac59bf62
  1. 2
      activitypub.go

@ -259,7 +259,7 @@ func handleFetchCollectionInbox(app *app, w http.ResponseWriter, r *http.Request
if followID == nil {
log.Error("Didn't resolve follow ID")
} else {
acceptID, err := url.Parse(followID.String() + "-accept")
acceptID, err := url.Parse(followID.String() + "#accept")
if err != nil {
log.Error("Couldn't parse generated Accept URL '%s': %v", followID.String()+"#accept", err)
}

Loading…
Cancel
Save