commit c659494

default  ·  2024-09-14 14:55:01 +0000 UTC
parent e0a2eb4
Also purge bookmark.idx and draft.idx.
1 files changed,  +2, -1
M data.c
M data.c
+2, -1
 1@@ -3353,7 +3353,8 @@ void purge_user(snac *snac)
 2 
 3     _purge_user_subdir(snac, "public",  pub_days);
 4 
 5-    const char *idxs[] = { "followers.idx", "private.idx", "public.idx", "pinned.idx", NULL };
 6+    const char *idxs[] = { "followers.idx", "private.idx", "public.idx",
 7+                           "pinned.idx", "bookmark.idx", "draft.idx", NULL };
 8 
 9     for (n = 0; idxs[n]; n++) {
10         xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]);