this.cancelFlash = this.__flasher.cancelFlash.bind(this.__flasher);
},
- beep: function() {
- this.__beeper.beep();
+ beep: function(notification) {
+ this.__beeper.beep(notification);
},
notify: function(title, message, callback) {
- this.__beeper.beep();
+ this.__beeper.beep(true);
this.__flasher.flash();
this.__notifier.notify(title, message, callback);
},
- setBeepOnMention: function(value) {
- if(value)
- this.__beeper.soundInit();
- },
setNotifications: function(value) {
this.__notifier.setEnabled(value);
},