commit a4381e4
grunfink
·
2026-05-22 06:01:16 +0000 UTC
parent 5c57360
Delete from the admire index when unliking and unboosting.
1 files changed,
+2,
-0
M
html.c
M
html.c
+2,
-0
1@@ -5703,6 +5703,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
2 xs *msg = msg_repulsion(&snac, id, "Like");
3
4 if (msg != NULL) {
5+ object_user_cache_del(&snac, id, "admire");
6 enqueue_message(&snac, msg);
7 }
8 }
9@@ -5711,6 +5712,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
10 xs *msg = msg_repulsion(&snac, id, "Announce");
11
12 if (msg != NULL) {
13+ object_user_cache_del(&snac, id, "admire");
14 enqueue_message(&snac, msg);
15 }
16 }