aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-04-04 08:07:56 +0200
committerdefault <nobody@localhost>2025-04-04 08:07:56 +0200
commit3cec0d3ebeeef595f509c52e6c0ac3682ba67e6f (patch)
treed31074946c492ffdf2e39be6d0f54cf56e081096 /html.c
parent877434218ffca350eb918fd47dfe81f29f2605ae (diff)
Vote objects no longer have a content of "".
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/html.c b/html.c
index 008c05b..25a2e90 100644
--- a/html.c
+++ b/html.c
@@ -4824,6 +4824,9 @@ int html_post_handler(const xs_dict *req, const char *q_path,
/* set the option */
msg = xs_dict_append(msg, "name", v);
+ /* delete the content */
+ msg = xs_dict_del(msg, "content");
+
xs *c_msg = msg_create(&snac, msg);
enqueue_message(&snac, c_msg);