aboutsummaryrefslogtreecommitdiff
path: root/OutboxPost.go
diff options
context:
space:
mode:
Diffstat (limited to 'OutboxPost.go')
-rw-r--r--OutboxPost.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/OutboxPost.go b/OutboxPost.go
index 9910761..7349b16 100644
--- a/OutboxPost.go
+++ b/OutboxPost.go
@@ -554,8 +554,12 @@ func ParseInboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) {
for _, e := range activity.To {
actor := GetActorFromDB(db, e)
if actor.Id != "" {
- TombstoneObjectFromCache(db, activity.Object.Id)
- return
+ for _, e := range activity.Object.Replies.OrderedItems {
+ TombstoneObjectFromCache(db, e.Id)
+ DeleteObject(db, e.Id)
+ }
+ TombstoneObjectFromCache(db, activity.Object.Id)
+ break
}
}
break