1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-23 14:46:40 +09:00

fix(chart): ダイレクト投稿をユーザーごとのチャートから除外 (MisskeyIO#679)

This commit is contained in:
Yuuki 2024-07-31 07:41:49 +09:00 committed by GitHub
parent a52e25be12
commit 3db41c2d82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}