Skip to content

Commit

Permalink
fix: public to home not applied to withreplies timelines
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 authored Oct 29, 2024
1 parent 313d008 commit 5852532
Showing 1 changed file with 4 additions and 4 deletions.
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 5852532

Please sign in to comment.