diff --git a/packages/backend/src/server/api/endpoints/users/notes.ts b/packages/backend/src/server/api/endpoints/users/notes.ts index 56983f7bc4..4a358b39cb 100644 --- a/packages/backend/src/server/api/endpoints/users/notes.ts +++ b/packages/backend/src/server/api/endpoints/users/notes.ts @@ -113,6 +113,9 @@ export default class extends Endpoint { // eslint- redisTimelines, useDbFallback: true, noteFilter: note => { + if (ps.withFiles && note.fileIds.length === 0) { + return false; + } if (me && isUserRelated(note, userIdsWhoMeMuting, true)) return false; if (note.renoteId) {