aboutsummaryrefslogtreecommitdiff
path: root/OutboxPost.go
diff options
context:
space:
mode:
authorFChannel <>2021-04-26 12:24:14 -0700
committerFChannel <>2021-04-26 12:24:14 -0700
commit4bd1944ae847a44ec8cd1996dc26145f6af08ead (patch)
treebdb4b836187ed46d5f0dffc76b26e68562450ff3 /OutboxPost.go
parenta07341569819f7f55d9e8b86db02c7e5ae9e8ba4 (diff)
noko fix
Diffstat (limited to 'OutboxPost.go')
-rw-r--r--OutboxPost.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/OutboxPost.go b/OutboxPost.go
index 61175be..cb0f988 100644
--- a/OutboxPost.go
+++ b/OutboxPost.go
@@ -55,9 +55,9 @@ func ParseOutboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) {
op := len(nObj.InReplyTo) - 1
if op >= 0 {
if nObj.InReplyTo[op].Id == "" {
- id = nObj.Id
+ id = nObj.Id
} else {
- id = nObj.InReplyTo[op].Id
+ id = nObj.InReplyTo[0].Id + "|" + nObj.Id
}
}