mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-10-02 12:54:29 +00:00
6 lines
219 B
TypeScript
6 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));
|
|
}
|