From 585253262c79de438088d246e944783201c11a37 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Tue, 29 Oct 2024 09:29:27 +0900 Subject: [PATCH] fix: public to home not applied to withreplies timelines --- .../src/server/api/endpoints/admin/note-public-to-home.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/backend/src/server/api/endpoints/admin/note-public-to-home.ts b/packages/backend/src/server/api/endpoints/admin/note-public-to-home.ts index 1089b6616b35..b6d4b7087e1a 100644 --- a/packages/backend/src/server/api/endpoints/admin/note-public-to-home.ts +++ b/packages/backend/src/server/api/endpoints/admin/note-public-to-home.ts @@ -120,10 +120,10 @@ export default class extends Endpoint { // eslint- this.fanoutTimelineService.remove('localTimeline', note.id, redisPipeline); this.fanoutTimelineService.remove('vmimiRelayTimeline', note.id, redisPipeline); if (note.replyId) { - this.fanoutTimelineService.remove('localTimelineWithReplies', note.replyId, redisPipeline); - this.fanoutTimelineService.remove(`localTimelineWithReplyTo:${note.replyUserId}`, note.replyId, redisPipeline); - this.fanoutTimelineService.remove('vmimiRelayTimelineWithReplies', note.replyId, redisPipeline); - //this.fanoutTimelineService.remove(`vmimiRelayTimelineWithReplyTo:${note.replyUserId}`, note.replyId, redisPipeline); + this.fanoutTimelineService.remove('localTimelineWithReplies', note.id, redisPipeline); + this.fanoutTimelineService.remove(`localTimelineWithReplyTo:${note.replyUserId}`, note.id, redisPipeline); + this.fanoutTimelineService.remove('vmimiRelayTimelineWithReplies', note.id, redisPipeline); + //this.fanoutTimelineService.remove(`vmimiRelayTimelineWithReplyTo:${note.replyUserId}`, note.id, redisPipeline); } if (note.fileIds.length > 0) { this.fanoutTimelineService.remove('localTimelineWithFiles', note.id, redisPipeline);