diff options
| author | grunfink <grunfink@comam.es> | 2026-05-22 08:01:16 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-05-22 08:01:16 +0200 |
| commit | a4381e41db43e2577aa5525586ab4ee680f3fec0 (patch) | |
| tree | 04093b8120e9f934ffe27b57819801a813ad02fa /html.c | |
| parent | 5c5736001d6fca95271801008aad6eedeb7deda5 (diff) | |
Delete from the admire index when unliking and unboosting.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } } |