aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFChannel <>2021-07-07 13:33:58 -0700
committerFChannel <>2021-07-07 13:33:58 -0700
commit188c137e8ffee7fce6cb5e363b5ea5a3095318ef (patch)
tree022266bb75bc370928aad6cffc48989fcfef5b36
parentca4444d74d7123edebedb4d7be713f739d2896ab (diff)
made delete objects as thread and fixed following non-valid actor links
-rw-r--r--main.go6
1 files changed, 4 insertions, 2 deletions
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"){