1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-18 13:05:32 +02:00

Merge branch 'develop' into ed25519

This commit is contained in:
tamaina
2024-03-07 10:52:44 +00:00
24 changed files with 157 additions and 53 deletions

View File

@@ -333,6 +333,7 @@ export class NoteEntityService implements OnModuleInit {
visibleUserIds: note.visibility === 'specified' ? note.visibleUserIds : undefined,
renoteCount: note.renoteCount,
repliesCount: note.repliesCount,
reactionCount: Object.values(note.reactions).reduce((a, b) => a + b, 0),
reactions: this.reactionService.convertLegacyReactions(note.reactions),
reactionEmojis: this.customEmojiService.populateEmojis(reactionEmojiNames, host),
reactionAndUserPairCache: opts.withReactionAndUserPairCache ? note.reactionAndUserPairCache : undefined,