diff options
| author | 2023-06-28 20:39:16 +0200 | |
|---|---|---|
| committer | 2023-06-28 20:39:16 +0200 | |
| commit | 394240b9ba6393794cffd7affa3a5cc6075774aa (patch) | |
| tree | 94c2d90692a4e6dd92004cb6490afdb5397744ae /data.c | |
| parent | In mastoapi, notes can be pinned / unpinned. (diff) | |
| download | snac2-394240b9ba6393794cffd7affa3a5cc6075774aa.tar.gz snac2-394240b9ba6393794cffd7affa3a5cc6075774aa.tar.xz snac2-394240b9ba6393794cffd7affa3a5cc6075774aa.zip | |
Also purge pinned.idx.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2326,7 +2326,7 @@ void purge_user(snac *snac) | |||
| 2326 | 2326 | ||
| 2327 | _purge_user_subdir(snac, "public", pub_days); | 2327 | _purge_user_subdir(snac, "public", pub_days); |
| 2328 | 2328 | ||
| 2329 | const char *idxs[] = { "followers.idx", "private.idx", "public.idx", NULL }; | 2329 | const char *idxs[] = { "followers.idx", "private.idx", "public.idx", "pinned.idx", NULL }; |
| 2330 | 2330 | ||
| 2331 | for (n = 0; idxs[n]; n++) { | 2331 | for (n = 0; idxs[n]; n++) { |
| 2332 | xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]); | 2332 | xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]); |