mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-19 00:58:54 +09:00
6 lines
228 B
TypeScript
6 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));
|
|
}
|