mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 10:49:11 -04:00 
			
		
		
		
	fix(server): album update disable no effect (#10090)
This commit is contained in:
		
							parent
							
								
									a916df56ee
								
							
						
					
					
						commit
						d14f23497c
					
				| @ -182,7 +182,12 @@ export class NotificationService { | ||||
|     const { server } = await this.configCore.getConfig(); | ||||
| 
 | ||||
|     for (const recipient of recipients) { | ||||
|       const { emailNotifications } = getPreferences(recipient); | ||||
|       const user = await this.userRepository.get(recipient.id, { withDeleted: false }); | ||||
|       if (!user) { | ||||
|         continue; | ||||
|       } | ||||
| 
 | ||||
|       const { emailNotifications } = getPreferences(user); | ||||
| 
 | ||||
|       if (!emailNotifications.enabled || !emailNotifications.albumUpdate) { | ||||
|         continue; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user