commit 3cec0d3

default  ·  2025-04-04 06:07:56 +0000 UTC
parent 8774342
Vote objects no longer have a content of "".
1 files changed,  +3, -0
M html.c
M html.c
+3, -0
 1@@ -4824,6 +4824,9 @@ int html_post_handler(const xs_dict *req, const char *q_path,
 2             /* set the option */
 3             msg = xs_dict_append(msg, "name", v);
 4 
 5+            /* delete the content */
 6+            msg = xs_dict_del(msg, "content");
 7+
 8             xs *c_msg = msg_create(&snac, msg);
 9 
10             enqueue_message(&snac, c_msg);