mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
enhance(backend): always render URI of liked
collection
https://socialhub.activitypub.rocks/t/fep-c0e0-emoji-reactions/4443/46
This commit is contained in:
parent
0949c0e0cd
commit
04616ff996
@ -472,15 +472,12 @@ export class ApRendererService {
|
|||||||
|
|
||||||
const hashtagTags = user.tags.map(tag => this.renderHashtag(tag));
|
const hashtagTags = user.tags.map(tag => this.renderHashtag(tag));
|
||||||
|
|
||||||
let liked;
|
|
||||||
if (profile.publicReactions) {
|
|
||||||
const likedId = `${id}/liked`;
|
const likedId = `${id}/liked`;
|
||||||
liked = this.renderOrderedCollection(
|
const liked = this.renderOrderedCollection(
|
||||||
likedId,
|
likedId,
|
||||||
undefined,
|
undefined,
|
||||||
`${likedId}?page=true`,
|
profile.publicReactions ? `${likedId}?page=true` : undefined,
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
|
||||||
const tag = [
|
const tag = [
|
||||||
...apemojis,
|
...apemojis,
|
||||||
|
Loading…
Reference in New Issue
Block a user