diff options
| -rw-r--r-- | activitypub.c | 2 | ||||
| -rw-r--r-- | 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) | |||
| 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; |
| @@ -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 | ||