diff options
| author | 2025-11-26 17:21:16 +0100 | |
|---|---|---|
| committer | 2025-11-26 17:21:16 +0100 | |
| commit | fcae55fcb1542f6fa0a330c45e3b806f902a84de (patch) | |
| tree | 105986d49cb5063fdf028a3f394220459b23446d /html.c | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | snac2-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.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, | |||
| 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"), |