Emoji must be img, not urls.

This commit is contained in:
default 2022-10-17 12:08:16 +02:00
parent c53052471e
commit 6bcfd4e0ee

3
html.c
View File

@ -77,8 +77,9 @@ d_char *html_msg_icon(snac *snac, d_char *os, char *msg)
if (n && i) {
char *u = xs_dict_get(i, "url");
xs *img = xs_fmt("<img src=\"%s\" style=\"height: 1em\"/>", u);
name = xs_replace_i(name, n, u);
name = xs_replace_i(name, n, img);
}
}
}