Fix Accept IDs

Prepend with hash, not hyphen

This closes #16
This commit is contained in:
Matt Baer 2018-11-12 19:31:21 -05:00
parent 78953f27f0
commit ecac59bf62

View file

@ -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)
}