update NoteCreateService "import" side

This commit is contained in:
dakkar 2024-08-30 12:09:57 +01:00
parent 6151099f5b
commit 907bf133cd
1 changed files with 1 additions and 1 deletions

View File

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