From deb52ece5393da8a00bf897eed76e9aea79af206 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 7 Jun 2019 20:40:05 +0900 Subject: [PATCH] Fix #5036 --- src/models/repositories/note.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/repositories/note.ts b/src/models/repositories/note.ts index 7b4627693..e5bf8d3f3 100644 --- a/src/models/repositories/note.ts +++ b/src/models/repositories/note.ts @@ -165,6 +165,7 @@ export class NoteRepository extends Repository { renoteCount: note.renoteCount, repliesCount: note.repliesCount, reactions: note.reactions, + tags: note.tags.length > 0 ? note.tags : undefined, emojis: reactionEmojis.length > 0 ? Emojis.find({ name: In(reactionEmojis), host: host