diff options
| author | grunfink <grunfink@comam.es> | 2025-11-26 17:21:16 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-11-26 17:21:16 +0100 |
| commit | fcae55fcb1542f6fa0a330c45e3b806f902a84de (patch) | |
| tree | 105986d49cb5063fdf028a3f394220459b23446d | |
| parent | f0702ea06bcb43745c1f6c85e7f592ab3c1349b5 (diff) | |
Some attachments are of type 'Video' instead of a MIME type (bsky).
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"), |