From 36e9b49ac109b542e080ce967eb782b885d9b7d3 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Tue, 26 Jan 2021 13:39:08 -0800 Subject: tombstone cache posts --- OutboxPost.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OutboxPost.go') diff --git a/OutboxPost.go b/OutboxPost.go index 60fa769..99f18d9 100644 --- a/OutboxPost.go +++ b/OutboxPost.go @@ -517,7 +517,7 @@ func ParseInboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { for _, e := range activity.To { actor := GetActorFromDB(db, e) if actor.Id != "" { - DeleteObjectFromCache(db, activity.Object.Id) + TombstoneObjectFromCache(db, activity.Object.Id) return } } -- cgit v1.2.3