diff options
author | default <nobody@localhost> | 2022-12-23 10:01:10 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-12-23 10:01:10 +0100 |
commit | 0bba515cf0e7b77a7daf697b1c8a13d185715bca (patch) | |
tree | aced70b90747bb6d750b26ca0509dc23e541af4e /html.c | |
parent | a24b27bf291f1df675e71290c9e839a56543bafb (diff) |
timeline_request() fixes the canonical id for the object.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1358,7 +1358,7 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, if (msg != NULL) { enqueue_message(&snac, msg); - timeline_admire(&snac, msg, id, snac.actor, 1); + timeline_admire(&snac, msg, xs_dict_get(msg, "object"), snac.actor, 1); } } else @@ -1367,7 +1367,7 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, if (msg != NULL) { enqueue_message(&snac, msg); - timeline_admire(&snac, msg, id, snac.actor, 0); + timeline_admire(&snac, msg, xs_dict_get(msg, "object"), snac.actor, 0); } } else |