added setting to disable notification sounds

This commit is contained in:
barisusakli
2014-03-18 17:01:37 -04:00
parent 36e949acea
commit 0f66e80a5a
4 changed files with 10 additions and 3 deletions

View File

@@ -47,6 +47,7 @@ apiController.getConfig = function(req, res, next) {
config.usePagination = settings.usePagination;
config.topicsPerPage = settings.topicsPerPage;
config.postsPerPage = settings.postsPerPage;
config.notificationSounds = settings.notificationSounds;
if (res.locals.isAPI) {
res.json(200, config);