aboutsummaryrefslogtreecommitdiff
path: root/OutboxPost.go
diff options
context:
space:
mode:
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
}
}