commit fcae55f
grunfink
·
2025-11-26 16:21:16 +0000 UTC
parent f0702ea
Some attachments are of type 'Video' instead of a MIME type (bsky).
1 files changed,
+1,
-1
M
html.c
M
html.c
+1,
-1
1@@ -2634,7 +2634,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2 xs_html_attr("title", name))));
3 }
4 else
5- if (xs_startswith(type, "video/")) {
6+ if (xs_startswith(type, "video/") || strcmp(type, "Video") == 0) {
7 xs_html_add(content_attachments,
8 xs_html_tag("video",
9 xs_html_attr("preload", "none"),