aboutsummaryrefslogtreecommitdiff
path: root/outboxPost.go
diff options
context:
space:
mode:
authorFChannel <>2021-07-23 22:45:44 -0700
committerFChannel <>2021-07-23 22:45:44 -0700
commit8f7386f2906716d40099fb50f029d48796dd1bbd (patch)
tree790b290434220a94e384eb8970d26dea1967e6f9 /outboxPost.go
parentc5eff11c39d0a07f5cb7401835d04ba4df9edcbf (diff)
added cross post support. could blow up if referencing a link that is not local to the database or cache.
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 b3a8baf..1d658ea 100644
--- a/outboxPost.go
+++ b/outboxPost.go
@@ -381,7 +381,7 @@ func ObjectFromForm(r *http.Request, db *sql.DB, obj ObjectBase) ObjectBase {
}
}
- replyingTo := ParseCommentForReplies(r.FormValue("comment"))
+ replyingTo := ParseCommentForReplies(db, r.FormValue("comment"), originalPost.Id)
for _, e := range replyingTo {