mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-21 21:05:05 +00:00
Also purge bookmark.idx and draft.idx.
This commit is contained in:
parent
e0a2eb4fb5
commit
c6594949f9
1 changed files with 2 additions and 1 deletions
3
data.c
3
data.c
|
@ -3353,7 +3353,8 @@ void purge_user(snac *snac)
|
||||||
|
|
||||||
_purge_user_subdir(snac, "public", pub_days);
|
_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++) {
|
for (n = 0; idxs[n]; n++) {
|
||||||
xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]);
|
xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]);
|
||||||
|
|
Loading…
Reference in a new issue