diff --git a/app/config.js b/app/config.js index d0847f4..10941c1 100644 --- a/app/config.js +++ b/app/config.js @@ -36,6 +36,8 @@ window.mumbleWebConfig = { 'matrix': false, // enable Matrix Widget support (mostly auto-detected; implies 'joinDialog') 'avatarurl': '', // download and set the user's Mumble avatar to the image at this URL // General - 'theme': 'MetroMumbleLight' + 'theme': 'MetroMumbleLight', + 'startMute': false, + 'startDeaf': false } } diff --git a/app/index.js b/app/index.js index dde50db..7dba49a 100644 --- a/app/index.js +++ b/app/index.js @@ -302,8 +302,8 @@ class GlobalBindings { this.messageBox = ko.observable('') this.toolbarHorizontal = ko.observable(!this.settings.toolbarVertical) this.selected = ko.observable() - this.selfMute = ko.observable() - this.selfDeaf = ko.observable() + this.selfMute = ko.observable(this.config.defaults.startMute) + this.selfDeaf = ko.observable(this.config.defaults.startDeaf) this.selfMute.subscribe(mute => { if (voiceHandler) {