This commit is contained in:
syuilo 2019-06-07 20:40:05 +09:00
parent 2fc9f5bdc3
commit deb52ece53

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