update NoteCreateService "import" side
This commit is contained in:
		
							parent
							
								
									6151099f5b
								
							
						
					
					
						commit
						907bf133cd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -978,7 +978,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