forked from woem.men/forkey
fix(chart): ダイレクト投稿をユーザーごとのチャートから除外 (MisskeyIO#679)
This commit is contained in:
parent
a52e25be12
commit
3db41c2d82
1 changed files with 1 additions and 1 deletions
|
@ -536,7 +536,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
||||||
const meta = await this.metaService.fetch();
|
const meta = await this.metaService.fetch();
|
||||||
|
|
||||||
this.notesChart.update(note, true);
|
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);
|
this.perUserNotesChart.update(user, note, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue