mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-23 10:27:28 -07:00
94228778c9
* wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
5 lines
223 B
TypeScript
5 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));
|
|
}
|