summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-04-11 19:29:30 +0200
committerdefault <nobody@localhost>2024-04-11 19:29:30 +0200
commit46f2e324d8df49af914ba5781f13337dea7dd6aa (patch)
treedb7abedc0387c039fd5b5bd315aef5b7a887309c /data.c
parent1a9bb5fd076a78bd336fc65aac6ee01f468eb4bd (diff)
Undo for Likes and Announces are no longer dropped.
Diffstat (limited to 'data.c')
-rw-r--r--data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/data.c b/data.c
index 7dd7d19..5cf62e7 100644
--- a/data.c
+++ b/data.c
@@ -916,6 +916,7 @@ int object_unadmire(const char *id, const char *actor, int like)
fn = xs_replace_i(fn, ".json", like ? "_l.idx" : "_a.idx");
status = index_del(fn, actor);
+ index_gc(fn);
srv_debug(0,
xs_fmt("object_unadmire (%s) %s %s %d", like ? "Like" : "Announce", actor, fn, status));