Also purge bookmark.idx and draft.idx.

This commit is contained in:
default 2024-09-14 16:55:01 +02:00
parent e0a2eb4fb5
commit c6594949f9

3
data.c
View file

@ -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]);