diff options
| author | grunfink <grunfink@comam.es> | 2025-11-17 18:23:14 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-11-17 18:23:21 +0100 |
| commit | bc746423154bfe0f095a82535c78e44863059072 (patch) | |
| tree | c2b0e7193e8fa6b768b223fe6fee188a81fcbd45 /html.c | |
| parent | bde074762685a0efe75067c783a078a22949a405 (diff) | |
Some implementations set quoted posts with 'quoteUrl', so look at that as well.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |