diff options
| author | 2024-09-14 16:55:01 +0200 | |
|---|---|---|
| committer | 2024-09-14 16:55:01 +0200 | |
| commit | c6594949f990099dadef738185cb2699ff3b0372 (patch) | |
| tree | bf6cdcb42bff8309d8f64f9c05f90169f736c555 /data.c | |
| parent | Some tweaks to draft post code. (diff) | |
| download | penes-snac2-c6594949f990099dadef738185cb2699ff3b0372.tar.gz penes-snac2-c6594949f990099dadef738185cb2699ff3b0372.tar.xz penes-snac2-c6594949f990099dadef738185cb2699ff3b0372.zip | |
Also purge bookmark.idx and draft.idx.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -3353,7 +3353,8 @@ void purge_user(snac *snac) | |||
| 3353 | 3353 | ||
| 3354 | _purge_user_subdir(snac, "public", pub_days); | 3354 | _purge_user_subdir(snac, "public", pub_days); |
| 3355 | 3355 | ||
| 3356 | const char *idxs[] = { "followers.idx", "private.idx", "public.idx", "pinned.idx", NULL }; | 3356 | const char *idxs[] = { "followers.idx", "private.idx", "public.idx", |
| 3357 | "pinned.idx", "bookmark.idx", "draft.idx", NULL }; | ||
| 3357 | 3358 | ||
| 3358 | for (n = 0; idxs[n]; n++) { | 3359 | for (n = 0; idxs[n]; n++) { |
| 3359 | xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]); | 3360 | xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]); |