From 21a6e695f45f098e4c49155a0bd01a05f137a648 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Thu, 9 May 2024 21:02:41 +0900 Subject: [PATCH] fix: public to home moderation doesn't remove note from VRTL --- .../src/server/api/endpoints/admin/note-public-to-home.ts | 3 +++ 1 file changed, 3 insertions(+) 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 4a426ec70cf2..a7cd84c24397 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 @@ -118,11 +118,14 @@ export default class extends Endpoint { // eslint- // remove from funout local timeline const redisPipeline = this.redisForTimelines.pipeline(); this.fanoutTimelineService.remove('localTimeline', note.id, redisPipeline); + this.fanoutTimelineService.remove('vmimiRelayTimeline', note.id, redisPipeline); if (note.fileIds.length > 0) { this.fanoutTimelineService.remove('localTimelineWithFiles', note.id, redisPipeline); + this.fanoutTimelineService.remove('vmimiRelayTimelineWithFiles', note.id, redisPipeline); } for (const renote of renotes) { this.fanoutTimelineService.remove('localTimeline', renote.id, redisPipeline); + this.fanoutTimelineService.remove('vmimiRelayTimeline', renote.id, redisPipeline); } await redisPipeline.exec();