From a97d3ac11628cd9244f97d2304d972abfb2b4824 Mon Sep 17 00:00:00 2001 From: grunfink Date: Fri, 19 Dec 2025 15:27:51 +0100 Subject: Reindex tags when editing a post. Tags that were deleted in the post message are not deleted, though. --- html.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'html.c') diff --git a/html.c b/html.c index f6c93c7..0b84e56 100644 --- a/html.c +++ b/html.c @@ -5141,6 +5141,9 @@ int html_post_handler(const xs_dict *req, const char *q_path, /* overwrite object, not updating the indexes */ object_add_ow(edit_id, msg); + /* index tags */ + tag_index(edit_id, msg); + /* update message */ c_msg = msg_update(&snac, msg); } -- cgit v1.2.3