[Server] Fix #3928

This commit is contained in:
syuilo 2019-01-20 19:22:13 +09:00
parent 81dbf64eb7
commit 3c194142a8
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
5 changed files with 25 additions and 0 deletions

View file

@ -28,6 +28,12 @@ export default class extends Channel {
@autobind
private async onNote(note: any) {
// リプライなら再pack
if (note.replyId != null) {
note.reply = await pack(note.replyId, this.user, {
detail: true
});
}
// Renoteなら再pack
if (note.renoteId != null) {
note.renote = await pack(note.renoteId, this.user, {