From 4c2c762b872e6aafd1fac18e7c06af281e452c1c 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 7b46276930..e5bf8d3f3a 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