Skip to content

Commit

Permalink
fix(chart): ダイレクト投稿をユーザーごとのチャートから除外 (MisskeyIO#679)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3db41c2)
  • Loading branch information
sleep-moe authored and kakkokari-gtyih committed Aug 1, 2024
1 parent 008a66d commit dc0581d
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 @@ -509,7 +509,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 dc0581d

Please sign in to comment.