mirror of
https://github.com/sim1222/misskey.git
synced 2025-04-29 02:37:22 +09:00
6 lines
223 B
TypeScript
6 lines
223 B
TypeScript
import { 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));
|
|
}
|