fix(chart): ダイレクト投稿をユーザーごとのチャートから除外 (MisskeyIO#679)
This commit is contained in:
parent
a52e25be12
commit
3db41c2d82
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user