snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 3cec0d3ebeeef595f509c52e6c0ac3682ba67e6f
parent 877434218ffca350eb918fd47dfe81f29f2605ae
Author: default <nobody@localhost>
Date:   Fri,  4 Apr 2025 08:07:56 +0200

Vote objects no longer have a content of "".

Diffstat:
Mhtml.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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);