mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-16 16:57:14 +01:00
5 lines
221 B
TypeScript
5 lines
221 B
TypeScript
import { INote } from '../models/note';
|
|
|
|
export default function(note: INote): boolean {
|
|
return note.renoteId != null && (note.text != null || note.poll != null || (note.mediaIds != null && note.mediaIds.length > 0));
|
|
}
|