This commit is contained in:
syuilo 2019-04-18 01:05:40 +09:00
parent 9b05b6ef28
commit 71813e03ee
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ export class NoteRepository extends Repository<Note> {
files: DriveFiles.packMany(note.fileIds), files: DriveFiles.packMany(note.fileIds),
replyId: note.replyId, replyId: note.replyId,
renoteId: note.renoteId, renoteId: note.renoteId,
mentions: note.mentions.length > 0 ? note.mentions : undefined,
uri: note.uri || undefined, uri: note.uri || undefined,
...(opts.detail ? { ...(opts.detail ? {