From 136b7c1581ae6e4aac4a1e4fa04340eb9aab7943 Mon Sep 17 00:00:00 2001 From: grunfink Date: Sat, 3 May 2025 18:23:54 +0200 Subject: No longer drop text/html attachements. --- html.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index e3a955b..288968d 100644 --- a/html.c +++ b/html.c @@ -2392,10 +2392,6 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, if (content && xs_str_in(content, o_href) != -1) continue; - /* drop silently any attachment that may include JavaScript */ - if (strcmp(type, "text/html") == 0) - continue; - if (strcmp(type, "image/svg+xml") == 0 && !xs_is_true(xs_dict_get(srv_config, "enable_svg"))) continue; -- cgit v1.2.3