diff options
author | FChannel <> | 2021-07-23 22:45:44 -0700 |
---|---|---|
committer | FChannel <> | 2021-07-23 22:45:44 -0700 |
commit | 8f7386f2906716d40099fb50f029d48796dd1bbd (patch) | |
tree | 790b290434220a94e384eb8970d26dea1967e6f9 /outboxPost.go | |
parent | c5eff11c39d0a07f5cb7401835d04ba4df9edcbf (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.go | 2 |
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 { |