summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-11-25 17:42:01 +0100
committerdefault <nobody@localhost>2022-11-25 17:42:01 +0100
commite93a79e06d12d5fa3a4bcac313a01044f0da7a25 (patch)
tree35ea6d84ed584528a0b5b9b31beb5d41ca9b804a
parent6c6b5a30c4570ac0ace13e95e28a678c3720b899 (diff)
Also purge the public/ and private/ caches.
-rw-r--r--data.c2
1 files changed, 2 insertions, 0 deletions
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);
}