From a4381e41db43e2577aa5525586ab4ee680f3fec0 Mon Sep 17 00:00:00 2001 From: grunfink Date: Fri, 22 May 2026 08:01:16 +0200 Subject: Delete from the admire index when unliking and unboosting. --- html.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'html.c') diff --git a/html.c b/html.c index 29dd8e8..f922ae2 100644 --- a/html.c +++ b/html.c @@ -5703,6 +5703,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, xs *msg = msg_repulsion(&snac, id, "Like"); if (msg != NULL) { + object_user_cache_del(&snac, id, "admire"); enqueue_message(&snac, msg); } } @@ -5711,6 +5712,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, xs *msg = msg_repulsion(&snac, id, "Announce"); if (msg != NULL) { + object_user_cache_del(&snac, id, "admire"); enqueue_message(&snac, msg); } } -- cgit