diff options
| author | grunfink <grunfink@comam.es> | 2026-05-18 17:08:11 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-05-18 17:08:11 +0200 |
| commit | d9d4465eb4bae643fc037cba7738a66cd1cb508d (patch) | |
| tree | 76d8193ef60c835bae4c89dd67adcfeac8068372 /html.c | |
| parent | 3d2af2ef63e0b79b0b4fe5398928291df9cb8c24 (diff) | |
Limited the number of nested quoted posts to 3.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2816,7 +2816,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, /* quoted post */ 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://*")) { /** **/ + if (level < 3 && xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ xs *quoted_post = NULL; if (valid_status(object_get(quoted_id, "ed_post))) { |