From 428ae12639e044df129cd5cb96e394c311e27d38 Mon Sep 17 00:00:00 2001 From: grunfink Date: Sun, 14 Sep 2025 00:05:51 +0200 Subject: Don't use # anchors in the reply paging, as Misskey seems to dislike them. --- activitypub.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index ce3be35..05c3fb1 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1369,8 +1369,8 @@ xs_dict *msg_replies(snac *user, const char *id, int fill) /* creates a CollectionPage with replies of id */ { xs *r_id = xs_replace(id, "/p/", "/r/"); - xs *r_idp = xs_fmt("%s#page", r_id); - xs *r_idh = xs_fmt("%s#hdr", r_id); + xs *r_idp = xs_fmt("%s?page=true", r_id); + xs *r_idh = xs_fmt("%s", r_id); xs_dict *msg = msg_base(user, "CollectionPage", r_idp, NULL, NULL, NULL); @@ -2012,7 +2012,7 @@ xs_dict *msg_note(snac *snac, const xs_str *content, const xs_val *rcpts, /* create the replies object */ xs *replies = xs_dict_new(); xs *r_id = xs_replace(id, "/p/", "/r/"); - xs *h_id = xs_fmt("%s#hdr", r_id); + xs *h_id = xs_fmt("%s", r_id); xs *rp = msg_replies(snac, id, 0); replies = xs_dict_set(replies, "id", h_id); -- cgit v1.2.3