Remove sounds (#8617)

* feat: remove sounds

* feat: remove more sounds

* feat: disable sounds plugin

* fix: openapi
This commit is contained in:
Barış Soner Uşaklı
2020-09-06 23:45:00 -04:00
committed by GitHub
parent 251ea79bd2
commit 5f10d67db5
35 changed files with 20 additions and 746 deletions

View File

@@ -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);