aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-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"){