summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-06-28 20:39:16 +0200
committerdefault <nobody@localhost>2023-06-28 20:39:16 +0200
commit394240b9ba6393794cffd7affa3a5cc6075774aa (patch)
tree94c2d90692a4e6dd92004cb6490afdb5397744ae /data.c
parentd1add0598ad273fc26242017b80aa909835b6e08 (diff)
Also purge pinned.idx.
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index 481ccbb..6436862 100644
--- a/data.c
+++ b/data.c
@@ -2326,7 +2326,7 @@ void purge_user(snac *snac)
_purge_user_subdir(snac, "public", pub_days);
- const char *idxs[] = { "followers.idx", "private.idx", "public.idx", NULL };
+ const char *idxs[] = { "followers.idx", "private.idx", "public.idx", "pinned.idx", NULL };
for (n = 0; idxs[n]; n++) {
xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]);