v1.18.x
Julian Lam 10 years ago
parent 318e4b5f6b
commit 625247611b

@ -57,6 +57,8 @@ define('sounds', ['buzz'], function(buzz) {
};
Sounds.playFile = function(fileName) {
if (!fileName) return;
function play() {
if (loadedSounds[fileName]) {
loadedSounds[fileName].play();

@ -7,9 +7,7 @@
async = require('async'),
nconf = require('nconf'),
session = require('express-session'),
db,
mongoClient,
mongoStore;
db, mongoClient;
module.questions = [
{

@ -79,7 +79,7 @@ module.exports = function(Meta) {
var defaults = {
'notification': 'notification.mp3',
'chat-incoming': 'waterdrop-high.mp3',
'chat-outgoing': 'waterdrop-low.mp3'
'chat-outgoing': undefined
};
return callback(null, defaults);

Loading…
Cancel
Save