commit 587e179

grunfink  ·  2025-11-09 16:07:13 +0000 UTC
parent 64b2bd7
Use 'quoteUri' instead of 'quote'.
2 files changed,  +2, -2
M html.c
+1, -1
1@@ -2686,7 +2686,7 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
2 
3                 timeline_request(snac, &in_reply_to, &wrk, 0);
4 
5-                const char *quoted_id = xs_dict_get(object, "quote");
6+                const char *quoted_id = xs_dict_get(object, "quoteUri");
7                 if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/
8                     xs *quoted_post = NULL;
9                     int status;
M html.c
+1, -1
1@@ -2396,7 +2396,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2             xs_html_raw(c));
3 
4         /* quoted post */
5-        const char *quoted_id = xs_dict_get(msg, "quote");
6+        const char *quoted_id = xs_dict_get(msg, "quoteUri");
7         if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/
8             xs *quoted_post = NULL;
9