From f9c47cfe6970a49c3d913ba029f67ebac1a623e4 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Wed, 30 Jun 2021 19:54:56 -0700 Subject: fixed federation bug with the TO field for sending activity streams. Added delay in indexing so the indexing inpoint cant be abused by non federated actors --- outboxPost.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'outboxPost.go') diff --git a/outboxPost.go b/outboxPost.go index cc66677..45093b8 100644 --- a/outboxPost.go +++ b/outboxPost.go @@ -48,7 +48,7 @@ func ParseOutboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { nObj = WriteObjectToDB(db, nObj) activity := CreateActivity("Create", nObj) activity = AddFollowersToActivity(db, activity) - MakeActivityRequest(db, activity) + go MakeActivityRequest(db, activity) var id string op := len(nObj.InReplyTo) - 1 -- cgit v1.2.3