chore (backend): remove unused function
This commit is contained in:
parent
88280e3bfd
commit
e8b39be387
1 changed files with 0 additions and 10 deletions
|
@ -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))
|
||||
);
|
||||
}
|
Loading…
Reference in a new issue