Skip to content

Commit

Permalink
Merge pull request #191 from anatawa12/fix-to-home-for-replies
Browse files Browse the repository at this point in the history
fix: public to home not applied to FTT withReplies
  • Loading branch information
anatawa12 authored May 20, 2024
2 parents 02e93e2 + 41ac2a6 commit 22dc0c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
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

0 comments on commit 22dc0c2

Please sign in to comment.