From 5c5736001d6fca95271801008aad6eedeb7deda5 Mon Sep 17 00:00:00 2001 From: grunfink Date: Thu, 21 May 2026 19:52:50 +0200 Subject: Also purge the new admire/ subdirectory. --- data.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data.c b/data.c index ad71b85..9f94320 100644 --- a/data.c +++ b/data.c @@ -4418,9 +4418,10 @@ void purge_user(snac *snac) _purge_user_subdir(snac, "pending", priv_days); _purge_user_subdir(snac, "public", pub_days); + _purge_user_subdir(snac, "admire", pub_days); - const char *idxs[] = { "followers.idx", "private.idx", "public.idx", - "pinned.idx", "bookmark.idx", "draft.idx", "sched.idx", NULL }; + const char *idxs[] = { "followers.idx", "private.idx", "public.idx", "pinned.idx", + "bookmark.idx", "draft.idx", "sched.idx", "admire.idx", NULL }; for (n = 0; idxs[n]; n++) { xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]); -- cgit