mirror of
https://git.joinfirefish.org/firefish/firefish.git
synced 2024-05-19 04:21:11 +02:00
chore (backend): remove unused function
This commit is contained in:
parent
88280e3bfd
commit
e8b39be387
|
@ -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