fix: remaining debug log
This commit is contained in:
parent
3ba112bb32
commit
c2505b12d6
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue