From 9c4e3934d1c79c76448568730b765bcefde0669e Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Fri, 30 May 2025 14:39:37 -0400 Subject: [PATCH] exclude local notes from bubble timeline --- .../backend/src/server/api/endpoints/notes/bubble-timeline.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts b/packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts index be08f84b6b..7c375cb0f5 100644 --- a/packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts @@ -85,7 +85,8 @@ export default class extends Endpoint { // eslint- ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate) .andWhere('note.visibility = \'public\'') .andWhere('note.channelId IS NULL') - .andWhere('(note.userHost IS NULL OR userInstance.isBubbled = true)') // This comes from generateVisibilityQuery below + .andWhere('note.userHost IS NULL') + .andWhere('userInstance.isBubbled = true') // This comes from generateVisibilityQuery below .innerJoinAndSelect('note.user', 'user') .leftJoinAndSelect('note.reply', 'reply') .leftJoinAndSelect('note.renote', 'renote')