mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Always show who boosted something, not only when it's on level 0.
This commit is contained in:
parent
d00026ac06
commit
f205d20688
1 changed files with 42 additions and 43 deletions
7
html.c
7
html.c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue