summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorGravatar default2024-09-14 16:55:01 +0200
committerGravatar default2024-09-14 16:55:01 +0200
commitc6594949f990099dadef738185cb2699ff3b0372 (patch)
treebf6cdcb42bff8309d8f64f9c05f90169f736c555 /data.c
parentSome tweaks to draft post code. (diff)
downloadpenes-snac2-c6594949f990099dadef738185cb2699ff3b0372.tar.gz
penes-snac2-c6594949f990099dadef738185cb2699ff3b0372.tar.xz
penes-snac2-c6594949f990099dadef738185cb2699ff3b0372.zip
Also purge bookmark.idx and draft.idx.
Diffstat (limited to '')
-rw-r--r--data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/data.c b/data.c
index f205254..b8d8332 100644
--- a/data.c
+++ b/data.c
@@ -3353,7 +3353,8 @@ void purge_user(snac *snac)
3353 3353
3354 _purge_user_subdir(snac, "public", pub_days); 3354 _purge_user_subdir(snac, "public", pub_days);
3355 3355
3356 const char *idxs[] = { "followers.idx", "private.idx", "public.idx", "pinned.idx", NULL }; 3356 const char *idxs[] = { "followers.idx", "private.idx", "public.idx",
3357 "pinned.idx", "bookmark.idx", "draft.idx", NULL };
3357 3358
3358 for (n = 0; idxs[n]; n++) { 3359 for (n = 0; idxs[n]; n++) {
3359 xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]); 3360 xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]);