diff options
| author | grunfink <grunfink@comam.es> | 2025-12-19 15:27:51 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-12-19 15:27:51 +0100 |
| commit | a97d3ac11628cd9244f97d2304d972abfb2b4824 (patch) | |
| tree | 22660b65fcd59bb8ae25d171733e3bb64e318ca9 /html.c | |
| parent | 34735ff0422ef92de7812baf31b1f3707cdcf483 (diff) | |
Reindex tags when editing a post.
Tags that were deleted in the post message are not deleted, though.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); } |