fix(backend): ダイレクト投稿をユーザーごとのチャートから除外 (#14350)
* fix(chart): ダイレクト投稿をユーザーごとのチャートから除外 (MisskeyIO#679) (cherry picked from commit 3db41c2d829ac18daabbdf52fe6235a874735b31) * Update Changelog --------- Co-authored-by: Yuuki <yukikum57@gmail.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
parent
93fc06d18b
commit
ab7bbd4e57
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue