summaryrefslogtreecommitdiff
path: root/activitypub.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 /activitypub.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 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 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)
2686 2686
2687 timeline_request(snac, &in_reply_to, &wrk, 0); 2687 timeline_request(snac, &in_reply_to, &wrk, 0);
2688 2688
2689 const char *quoted_id = xs_dict_get(object, "quote"); 2689 const char *quoted_id = xs_dict_get(object, "quoteUri");
2690 if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ 2690 if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/
2691 xs *quoted_post = NULL; 2691 xs *quoted_post = NULL;
2692 int status; 2692 int status;