diff options
| author | violette <vi@violette.town> | 2025-12-19 09:54:50 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-12-19 09:54:50 +0100 |
| commit | e233f3f904e64d6ecaffdf68f8532e1587681fe3 (patch) | |
| tree | 334940d6e1c765a2cd5244385f3445f898cf9473 /html.c | |
| parent | aefdd0169b0170c8c264374474e4eeeab2920cc9 (diff) | |
Some fixes.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -2500,11 +2500,12 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, shortname = xs_dict_get(m, "content"); const xs_list *items = xs_dict_get(sfrl, content); - const char *nb = xs_list_get(items, 0); - const xs_list *actors = xs_list_get(items, 1); - const char me = *xs_list_get(items, 2) == '1'; - if (!xs_is_null(nb)) { + if (!xs_is_null(items)) { + const char *nb = xs_list_get(items, 0); + const xs_list *actors = xs_list_get(items, 1); + const char me = *xs_list_get(items, 2) == '1'; + is_emoji = 1; xs *al = xs_join(actors, ",\n\t"); |