summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-11-09 17:07:13 +0100
committerGravatar grunfink2025-11-09 17:07:13 +0100
commit587e1797ddd971c607923db3bba47b0fbc85c7b2 (patch)
tree59f836e5d8ac2247a7dce56e76815c003b164fbd /html.c
parentRetrieve quoted posts when a post arrives. (diff)
downloadsnac2-587e1797ddd971c607923db3bba47b0fbc85c7b2.tar.gz
snac2-587e1797ddd971c607923db3bba47b0fbc85c7b2.tar.xz
snac2-587e1797ddd971c607923db3bba47b0fbc85c7b2.zip
Use 'quoteUri' instead of 'quote'.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index ae5adec..32b88e1 100644
--- a/html.c
+++ b/html.c
@@ -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