From e93a79e06d12d5fa3a4bcac313a01044f0da7a25 Mon Sep 17 00:00:00 2001 From: default Date: Fri, 25 Nov 2022 17:42:01 +0100 Subject: [PATCH] Also purge the public/ and private/ caches. --- data.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data.c b/data.c index 7f81202..5dd9ec9 100644 --- a/data.c +++ b/data.c @@ -1571,9 +1571,11 @@ void purge_user(snac *snac) days = xs_number_get(xs_dict_get(srv_config, "timeline_purge_days")); _purge_subdir(snac, "timeline", days); _purge_subdir(snac, "hidden", days); + _purge_subdir(snac, "private", days); days = xs_number_get(xs_dict_get(srv_config, "local_purge_days")); _purge_subdir(snac, "local", days); + _purge_subdir(snac, "public", days); }