aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-11-26 17:21:16 +0100
committergrunfink <grunfink@comam.es>2025-11-26 17:21:16 +0100
commitfcae55fcb1542f6fa0a330c45e3b806f902a84de (patch)
tree105986d49cb5063fdf028a3f394220459b23446d
parentf0702ea06bcb43745c1f6c85e7f592ab3c1349b5 (diff)
Some attachments are of type 'Video' instead of a MIME type (bsky).
-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,
xs_html_attr("title", name))));
}
else
- if (xs_startswith(type, "video/")) {
+ if (xs_startswith(type, "video/") || strcmp(type, "Video") == 0) {
xs_html_add(content_attachments,
xs_html_tag("video",
xs_html_attr("preload", "none"),