Skip to content

Commit

Permalink
Merge pull request #228 from niri-la/fix-public-to-home-withreplies
Browse files Browse the repository at this point in the history
fix: public to home not applied to withreplies timelines
  • Loading branch information
anatawa12 authored Oct 29, 2024
2 parents 313d008 + 9188f17 commit 9b2910c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## Unreleased
### General

### Client

### Server
- Fix: public to homeモデレーションが withReplies に適用されてない問題を修正

## 2024.10.0-kinel.1
## 2024.10.0 (merged to 2024.10.0-kinel.1)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // 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);
Expand Down

0 comments on commit 9b2910c

Please sign in to comment.