fix: prevent *key renotes/boosts from being imported

Stop renotes/boosts from *key from being imported due to missing functionality of getting the related posts
This commit is contained in:
Mar0xy 2023-11-13 10:25:39 +01:00
parent d2e403a4bd
commit 9b3993a652
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 2 additions and 0 deletions

View File

@ -210,6 +210,8 @@ export class ImportNotesProcessorService {
return; return;
} }
if (note.renoteId) return;
const files: MiDriveFile[] = []; const files: MiDriveFile[] = [];
const date = new Date(note.createdAt); const date = new Date(note.createdAt);