Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: public to home not applied to FTT withReplies #191

Merged
merged 3 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@

-->

## 2024.3.1-kinel.6 (unreleased)

### General
- Fix: パブリック投稿をホーム投稿に変更するモデレーション操作がリプライに正しく適用されていなかった問題を修正

## 2024.3.1-kinel.5

### General
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
const redisPipeline = this.redisForTimelines.pipeline();
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);
}
if (note.fileIds.length > 0) {
this.fanoutTimelineService.remove('localTimelineWithFiles', note.id, redisPipeline);
this.fanoutTimelineService.remove('vmimiRelayTimelineWithFiles', note.id, redisPipeline);
Expand Down
Loading