From ecac59bf62dc32827a3035ecb129426eaa52c869 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Mon, 12 Nov 2018 19:31:21 -0500 Subject: [PATCH] Fix Accept IDs Prepend with hash, not hyphen This closes #16 --- activitypub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.go b/activitypub.go index e686d0b..53ddb52 100644 --- a/activitypub.go +++ b/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) }