commit c6594949f990099dadef738185cb2699ff3b0372
parent e0a2eb4fb572a93a4d75c4efbb2ef22dd82f9cc6
Author: default <nobody@localhost>
Date: Sat, 14 Sep 2024 16:55:01 +0200
Also purge bookmark.idx and draft.idx.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/data.c b/data.c
@@ -3353,7 +3353,8 @@ void purge_user(snac *snac)
_purge_user_subdir(snac, "public", pub_days);
- const char *idxs[] = { "followers.idx", "private.idx", "public.idx", "pinned.idx", NULL };
+ const char *idxs[] = { "followers.idx", "private.idx", "public.idx",
+ "pinned.idx", "bookmark.idx", "draft.idx", NULL };
for (n = 0; idxs[n]; n++) {
xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]);