diff --git a/packages/backend/src/server/api/endpoints/notes/unrenote.ts b/packages/backend/src/server/api/endpoints/notes/unrenote.ts index 4a396612..3f6f260e 100644 --- a/packages/backend/src/server/api/endpoints/notes/unrenote.ts +++ b/packages/backend/src/server/api/endpoints/notes/unrenote.ts @@ -48,6 +48,9 @@ export default define(meta, paramDef, async (ps, user) => { }); for (const note of renotes) { - deleteNote(await Users.findOneByOrFail({ id: user.id }), note); + // Only renotes should be deleted, not quotes + if (!note.text) { + deleteNote(await Users.findOneByOrFail({ id: user.id }), note); + } } });