From 587e1797ddd971c607923db3bba47b0fbc85c7b2 Mon Sep 17 00:00:00 2001 From: grunfink Date: Sun, 9 Nov 2025 17:07:13 +0100 Subject: Use 'quoteUri' instead of 'quote'. --- activitypub.c | 2 +- html.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activitypub.c b/activitypub.c index f1c8783..bb6f460 100644 --- a/activitypub.c +++ b/activitypub.c @@ -2686,7 +2686,7 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) timeline_request(snac, &in_reply_to, &wrk, 0); - const char *quoted_id = xs_dict_get(object, "quote"); + const char *quoted_id = xs_dict_get(object, "quoteUri"); if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ xs *quoted_post = NULL; int status; 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, xs_html_raw(c)); /* quoted post */ - const char *quoted_id = xs_dict_get(msg, "quote"); + const char *quoted_id = xs_dict_get(msg, "quoteUri"); if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ xs *quoted_post = NULL; -- cgit v1.2.3