Also purge pinned.idx.

This commit is contained in:
default 2023-06-28 20:39:16 +02:00
parent d1add0598a
commit 394240b9ba

2
data.c
View file

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