fix: remaining debug log

This commit is contained in:
anatawa12 2023-10-30 10:42:11 +09:00
parent 3ba112bb32
commit c2505b12d6
No known key found for this signature in database
GPG Key ID: 9CA909848B8E4EA6
1 changed files with 0 additions and 5 deletions

View File

@ -215,16 +215,11 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
}
function isPureRenote(note: MiNote): boolean {
console.log("isPureRenote", note);
if (!note.renoteId) return false;
console.log("isPureRenote: no renoteId");
if (note.text) return false; // it's quoted with text
console.log("isPureRenote: not quoted with text");
if (note.fileIds.length !== 0) return false; // it's quoted with files
console.log("isPureRenote: not quoted with file");
if (note.hasPoll) return false; // it's quoted with poll
console.log("isPureRenote: not quoted with poll");
return true;
}