Fixed bug in form processing.

This commit is contained in:
default 2024-04-11 14:19:22 +02:00
parent 7b75a17291
commit 1a9bb5fd07

1
html.c
View file

@ -2957,6 +2957,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
timeline_admire(&snac, xs_dict_get(msg, "object"), snac.actor, 0); timeline_admire(&snac, xs_dict_get(msg, "object"), snac.actor, 0);
} }
} }
else
if (strcmp(action, L("Unlike")) == 0) { /** **/ if (strcmp(action, L("Unlike")) == 0) { /** **/
xs *msg = msg_repulsion(&snac, id, "Like"); xs *msg = msg_repulsion(&snac, id, "Like");