Browse Source

Also purge bookmark.idx and draft.idx.

default 6 months ago
parent
commit
c6594949f9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      data.c

+ 2 - 1
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]);