chore (backend): remove unused function

This commit is contained in:
naskya 2024-04-24 05:01:35 +09:00
parent 88280e3bfd
commit e8b39be387
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -1,10 +0,0 @@
import type { Note } from "@/models/entities/note.js";
export default function (note: Note): boolean {
return (
note.renoteId != null &&
(note.text != null ||
note.hasPoll ||
(note.fileIds != null && note.fileIds.length > 0))
);
}