enhance(backend): always render URI of liked collection

https://socialhub.activitypub.rocks/t/fep-c0e0-emoji-reactions/4443/46
This commit is contained in:
Daiki Mizukami 2024-08-20 02:16:14 +09:00
parent 0949c0e0cd
commit 04616ff996
No known key found for this signature in database
GPG Key ID: 10478E598B944AA2

View File

@ -472,15 +472,12 @@ export class ApRendererService {
const hashtagTags = user.tags.map(tag => this.renderHashtag(tag));
let liked;
if (profile.publicReactions) {
const likedId = `${id}/liked`;
liked = this.renderOrderedCollection(
const liked = this.renderOrderedCollection(
likedId,
undefined,
`${likedId}?page=true`,
profile.publicReactions ? `${likedId}?page=true` : undefined,
);
}
const tag = [
...apemojis,