From bc746423154bfe0f095a82535c78e44863059072 Mon Sep 17 00:00:00 2001 From: grunfink Date: Mon, 17 Nov 2025 18:23:14 +0100 Subject: Some implementations set quoted posts with 'quoteUrl', so look at that as well. --- html.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index 54f8dd1..df16038 100644 --- a/html.c +++ b/html.c @@ -2396,7 +2396,8 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, xs_html_raw(c)); /* quoted post */ - const char *quoted_id = xs_dict_get(msg, "quoteUri"); + const char *quoted_id = xs_or(xs_dict_get(msg, "quoteUri"), xs_dict_get(msg, "quoteUrl")); + if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ xs *quoted_post = NULL; -- cgit v1.2.3