From 685b25af14b6500634f178af7e8698568ff65cc5 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 31 Oct 2022 15:54:07 +0100 Subject: After reacting to a post, redirection is done to the next entry instead of top. This work more or less ok for level 0 entries, but it's very confusing for the others. --- html.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 8b0d3d2..d3eed6c 100644 --- a/html.c +++ b/html.c @@ -346,7 +346,7 @@ d_char *build_mentions(snac *snac, char *msg) } -d_char *html_entry_controls(snac *snac, d_char *os, char *msg) +d_char *html_entry_controls(snac *snac, d_char *os, char *msg, int num) { char *id = xs_dict_get(msg, "id"); char *actor = xs_dict_get(msg, "attributedTo"); @@ -362,6 +362,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg) "