summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2024-04-11 14:19:22 +0200
committerGravatar default2024-04-11 14:19:22 +0200
commit1a9bb5fd076a78bd336fc65aac6ee01f468eb4bd (patch)
tree965453ed7f99cfd4e72684fba08b12b00e8c8f17 /html.c
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-1a9bb5fd076a78bd336fc65aac6ee01f468eb4bd.tar.gz
snac2-1a9bb5fd076a78bd336fc65aac6ee01f468eb4bd.tar.xz
snac2-1a9bb5fd076a78bd336fc65aac6ee01f468eb4bd.zip
Fixed bug in form processing.
Diffstat (limited to 'html.c')
-rw-r--r--html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/html.c b/html.c
index 00c5113..f50fb7d 100644
--- a/html.c
+++ b/html.c
@@ -2957,6 +2957,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
2957 timeline_admire(&snac, xs_dict_get(msg, "object"), snac.actor, 0); 2957 timeline_admire(&snac, xs_dict_get(msg, "object"), snac.actor, 0);
2958 } 2958 }
2959 } 2959 }
2960 else
2960 if (strcmp(action, L("Unlike")) == 0) { /** **/ 2961 if (strcmp(action, L("Unlike")) == 0) { /** **/
2961 xs *msg = msg_repulsion(&snac, id, "Like"); 2962 xs *msg = msg_repulsion(&snac, id, "Like");
2962 2963