Skip to content

Commit

Permalink
fix(chart): ダイレクト投稿をユーザーごとのチャートから除外 (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleep-moe authored Jul 30, 2024
1 parent a52e25b commit 3db41c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/NoteCreateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ export class NoteCreateService implements OnApplicationShutdown {
const meta = await this.metaService.fetch();

this.notesChart.update(note, true);
if (meta.enableChartsForRemoteUser || (user.host == null)) {
if (note.visibility !== 'specified' && (meta.enableChartsForRemoteUser || (user.host == null))) {
this.perUserNotesChart.update(user, note, true);
}

Expand Down

0 comments on commit 3db41c2

Please sign in to comment.