update NoteCreateService "import" side
This commit is contained in:
parent
6151099f5b
commit
907bf133cd
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue