From 188c137e8ffee7fce6cb5e363b5ea5a3095318ef Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Wed, 7 Jul 2021 13:33:58 -0700 Subject: made delete objects as thread and fixed following non-valid actor links --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index a84bb7d..b520aa7 100644 --- a/main.go +++ b/main.go @@ -495,7 +495,9 @@ func main() { return } - MakeActivityRequestOutbox(db, followActivity) + if FingerActor(r.FormValue("follow")).Id != "" { + MakeActivityRequestOutbox(db, followActivity) + } var redirect string if(actor.Name != "main") { @@ -809,7 +811,7 @@ func main() { } if IsIDLocal(db, id){ - DeleteObjectRequest(db, id) + go DeleteObjectRequest(db, id) } if(manage == "t"){ -- cgit v1.2.3