mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	Remove sounds (#8617)
* feat: remove sounds * feat: remove more sounds * feat: disable sounds plugin * fix: openapi
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							251ea79bd2
						
					
				
				
					commit
					5f10d67db5
				
			| @@ -15,7 +15,6 @@ const privileges = require('../privileges'); | ||||
| const SocketModules = module.exports; | ||||
|  | ||||
| SocketModules.chats = {}; | ||||
| SocketModules.sounds = {}; | ||||
| SocketModules.settings = {}; | ||||
|  | ||||
| /* Chat */ | ||||
| @@ -290,9 +289,4 @@ SocketModules.chats.getIP = async function (socket, mid) { | ||||
| 	return await Messaging.getMessageField(mid, 'ip'); | ||||
| }; | ||||
|  | ||||
| /* Sounds */ | ||||
| SocketModules.sounds.getUserSoundMap = async function getUserSoundMap(socket) { | ||||
| 	return await meta.sounds.getUserSoundMap(socket.uid); | ||||
| }; | ||||
|  | ||||
| require('../promisify')(SocketModules); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user