wip
This commit is contained in:
parent
1d027613e4
commit
2df02a9d70
2 changed files with 210 additions and 188 deletions
5
src/misc/is-quote.ts
Normal file
5
src/misc/is-quote.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
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));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue