diff options
| author | 2025-11-09 17:07:13 +0100 | |
|---|---|---|
| committer | 2025-11-09 17:07:13 +0100 | |
| commit | 587e1797ddd971c607923db3bba47b0fbc85c7b2 (patch) | |
| tree | 59f836e5d8ac2247a7dce56e76815c003b164fbd /html.c | |
| parent | Retrieve quoted posts when a post arrives. (diff) | |
| download | snac2-587e1797ddd971c607923db3bba47b0fbc85c7b2.tar.gz snac2-587e1797ddd971c607923db3bba47b0fbc85c7b2.tar.xz snac2-587e1797ddd971c607923db3bba47b0fbc85c7b2.zip | |
Use 'quoteUri' instead of 'quote'.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2396,7 +2396,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, | |||
| 2396 | xs_html_raw(c)); | 2396 | xs_html_raw(c)); |
| 2397 | 2397 | ||
| 2398 | /* quoted post */ | 2398 | /* quoted post */ |
| 2399 | const char *quoted_id = xs_dict_get(msg, "quote"); | 2399 | const char *quoted_id = xs_dict_get(msg, "quoteUri"); |
| 2400 | if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ | 2400 | if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ |
| 2401 | xs *quoted_post = NULL; | 2401 | xs *quoted_post = NULL; |
| 2402 | 2402 | ||