mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 07:43:09 +02:00
0e4a111f81
Resolve #7779
5 lines
220 B
TypeScript
5 lines
220 B
TypeScript
import { Note } from '@/models/entities/note';
|
|
|
|
export default function(note: Note): boolean {
|
|
return note.renoteId != null && (note.text != null || note.hasPoll || (note.fileIds != null && note.fileIds.length > 0));
|
|
}
|