mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Also purge bookmark.idx and draft.idx.
This commit is contained in:
parent
e0a2eb4fb5
commit
c6594949f9
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 New Issue
Block a user