aboutsummaryrefslogtreecommitdiff
path: root/outboxPost.go
diff options
context:
space:
mode:
authorFChannel <>2021-06-30 19:54:56 -0700
committerFChannel <>2021-06-30 19:54:56 -0700
commitf9c47cfe6970a49c3d913ba029f67ebac1a623e4 (patch)
treea7abbbad718bca33dcce76a7e4385f0b38231d20 /outboxPost.go
parent26e38b0e9ac4a9dd2e01312818eba4e84b02f1ca (diff)
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
Diffstat (limited to 'outboxPost.go')
-rw-r--r--outboxPost.go2
1 files changed, 1 insertions, 1 deletions
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