mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	chore: eslint prefer-arrow-callback
This commit is contained in:
		
				
					committed by
					
						 Julian Lam
						Julian Lam
					
				
			
			
				
	
			
			
			
						parent
						
							707b55b6a5
						
					
				
				
					commit
					b56d9e12b5
				
			| @@ -246,7 +246,7 @@ SocketModules.chats.renameRoom = async function (socket, data) { | ||||
| 	await Messaging.renameRoom(socket.uid, data.roomId, data.newName); | ||||
| 	const uids = await Messaging.getUidsInRoom(data.roomId, 0, -1); | ||||
| 	const eventData = { roomId: data.roomId, newName: validator.escape(String(data.newName)) }; | ||||
| 	uids.forEach(function (uid) { | ||||
| 	uids.forEach((uid) => { | ||||
| 		server.in(`uid_${uid}`).emit('event:chats.roomRename', eventData); | ||||
| 	}); | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user