This commit is contained in:
syuilo 2018-10-11 17:00:22 +09:00
parent 8ee44263f6
commit a4e2575553

View File

@ -386,6 +386,7 @@ export const pack = async (
return null;
}
if (opts.detail) {
if (_note.replyId != null && _note.reply == null) {
console.warn(`[DAMAGED DB] (missing) pkg: note -> reply :: ${_note.id} (reply ${_note.replyId})`);
return null;
@ -395,6 +396,7 @@ export const pack = async (
console.warn(`[DAMAGED DB] (missing) pkg: note -> renote :: ${_note.id} (renote ${_note.renoteId})`);
return null;
}
}
//#endregion
if (_note.user.isCat && _note.text) {