From 71813e03ee77233ee0184b54767a1c41c60c2b5c Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 18 Apr 2019 01:05:40 +0900 Subject: [PATCH] Fix bug --- 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 d684b47e48..1d2ce7a9c9 100644 --- a/src/models/repositories/note.ts +++ b/src/models/repositories/note.ts @@ -182,6 +182,7 @@ export class NoteRepository extends Repository { files: DriveFiles.packMany(note.fileIds), replyId: note.replyId, renoteId: note.renoteId, + mentions: note.mentions.length > 0 ? note.mentions : undefined, uri: note.uri || undefined, ...(opts.detail ? {