diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 52d5535..2c0fa2e 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -2686,7 +2686,8 @@ 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, "quoteUri"); | 2689 | const char *quoted_id = xs_or(xs_dict_get(object, "quoteUri"), xs_dict_get(object, "quoteUrl")); |
| 2690 | |||
| 2690 | if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ | 2691 | if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/ |
| 2691 | xs *quoted_post = NULL; | 2692 | xs *quoted_post = NULL; |
| 2692 | int status; | 2693 | int status; |