summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-11-26 17:21:16 +0100
committerGravatar grunfink2025-11-26 17:21:16 +0100
commitfcae55fcb1542f6fa0a330c45e3b806f902a84de (patch)
tree105986d49cb5063fdf028a3f394220459b23446d /html.c
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-fcae55fcb1542f6fa0a330c45e3b806f902a84de.tar.gz
snac2-fcae55fcb1542f6fa0a330c45e3b806f902a84de.tar.xz
snac2-fcae55fcb1542f6fa0a330c45e3b806f902a84de.zip
Some attachments are of type 'Video' instead of a MIME type (bsky).
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index df5b508..12d269a 100644
--- a/html.c
+++ b/html.c
@@ -2634,7 +2634,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2634 xs_html_attr("title", name)))); 2634 xs_html_attr("title", name))));
2635 } 2635 }
2636 else 2636 else
2637 if (xs_startswith(type, "video/")) { 2637 if (xs_startswith(type, "video/") || strcmp(type, "Video") == 0) {
2638 xs_html_add(content_attachments, 2638 xs_html_add(content_attachments,
2639 xs_html_tag("video", 2639 xs_html_tag("video",
2640 xs_html_attr("preload", "none"), 2640 xs_html_attr("preload", "none"),