aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mastoapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 109142c..1ddcdc4 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -3435,6 +3435,7 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
xs *n_msg = msg_repulsion(&snac, id, "Like");
if (n_msg != NULL) {
+ object_user_cache_del(&snac, id, "admire");
enqueue_message(&snac, n_msg);
out = mastoapi_status(&snac, msg);
@@ -3456,6 +3457,7 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
xs *n_msg = msg_emoji_unreact(&snac, id, content);
if (n_msg != NULL) {
+ object_user_cache_del(&snac, id, "admire");
enqueue_message(&snac, n_msg);
out = mastoapi_status(&snac, msg);