This commit is contained in:
syuilo 2019-06-07 20:40:05 +09:00
parent 81fadfa4ff
commit 4c2c762b87
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -165,6 +165,7 @@ export class NoteRepository extends Repository<Note> {
renoteCount: note.renoteCount, renoteCount: note.renoteCount,
repliesCount: note.repliesCount, repliesCount: note.repliesCount,
reactions: note.reactions, reactions: note.reactions,
tags: note.tags.length > 0 ? note.tags : undefined,
emojis: reactionEmojis.length > 0 ? Emojis.find({ emojis: reactionEmojis.length > 0 ? Emojis.find({
name: In(reactionEmojis), name: In(reactionEmojis),
host: host host: host