mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-16 14:21:57 +01:00
5 lines
228 B
TypeScript
5 lines
228 B
TypeScript
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));
|
|
}
|