mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 18:33:09 +02:00
5 lines
219 B
TypeScript
5 lines
219 B
TypeScript
import { INote } from '../models/note';
|
|
|
|
export default function(note: INote): boolean {
|
|
return note.renoteId != null && (note.text != null || note.poll != null || (note.fileIds != null && note.fileIds.length > 0));
|
|
}
|