From 3f58ca2bda0380563d4610e4c7cb8a97922af6b7 Mon Sep 17 00:00:00 2001 From: ZerglingGo Date: Wed, 27 Mar 2024 16:20:08 +0900 Subject: [PATCH] fix(backend): showing reply for own notes --- packages/backend/src/server/api/endpoints/notes/timeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/notes/timeline.ts b/packages/backend/src/server/api/endpoints/notes/timeline.ts index 8b87908bd..e1e1192fd 100644 --- a/packages/backend/src/server/api/endpoints/notes/timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/timeline.ts @@ -113,7 +113,7 @@ export default class extends Endpoint { // eslint- alwaysIncludeMyNotes: true, excludePureRenotes: !ps.withRenotes, noteFilter: note => { - if (note.reply && note.reply.visibility === 'followers') { + if (note.reply && (me.id !== note.reply.userId) && (note.reply.visibility === 'followers')) { if (!Object.hasOwn(followings, note.reply.userId)) return false; }