mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fix:Client emitter users not found no longer is an error
This commit is contained in:
		
							parent
							
								
									d368988899
								
							
						
					
					
						commit
						3a34daef7c
					
				| @ -94,7 +94,7 @@ class Server { | ||||
|   clientEmitter(userId, ev, data) { | ||||
|     var clients = this.getClientsForUser(userId) | ||||
|     if (!clients.length) { | ||||
|       return Logger.error(`[Server] clientEmitter - no clients found for user ${userId}`) | ||||
|       return Logger.debug(`[Server] clientEmitter - no clients found for user ${userId}`) | ||||
|     } | ||||
|     clients.forEach((client) => { | ||||
|       if (client.socket) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user