Always show who boosted something, not only when it's on level 0.

This commit is contained in:
default 2022-12-03 18:08:44 +01:00
parent d00026ac06
commit f205d20688

7
html.c
View file

@ -548,8 +548,10 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, int local, int level, int
s = xs_str_cat(s, s1);
}
if (level == 0) {
if (level == 0)
s = xs_str_cat(s, "<div class=\"snac-post\">\n");
else
s = xs_str_cat(s, "<div class=\"snac-child\">\n");
if (boosts == NULL)
boosts = object_announces(id);
@ -604,9 +606,6 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, int local, int level, int
s = xs_str_cat(s, s1);
}
}
}
else
s = xs_str_cat(s, "<div class=\"snac-child\">\n");
s = html_msg_icon(snac, s, msg);