The notification option wasn't being used consistently
This commit is contained in:
parent
2a7e19f957
commit
61568aca32
@ -20,9 +20,10 @@
|
||||
- Allow JIDs not on the roster to be invited to a chatroom. [jcbrand]
|
||||
- #770 Allow setting contact attrs on chats.open [Ape]
|
||||
|
||||
## 2.0.7 (2017-02-14)
|
||||
## 2.0.7 (2017-02-15)
|
||||
- Bugfix. 'TypeError: this.sendConfiguration(...).then is not a function' when an instant room is created. [jcbrand]
|
||||
- Ensure consistent behavior from `show_controlbox_by_default` [jcbrand]
|
||||
- #694 The `notification_option` wasn't being used consistently. [jcbrand]
|
||||
|
||||
## 2.0.6 (2017-02-13)
|
||||
- Escape user-generated input to prevent JS-injection attacks. (Thanks to SamWhited) [jcbrand]
|
||||
|
@ -182,7 +182,7 @@
|
||||
var n = new Notification(contact.fullname, {
|
||||
body: message,
|
||||
lang: _converse.i18n.locale_data.converse[""].lang,
|
||||
icon: 'logo/conversejs.png'
|
||||
icon: _converse.notification_icon
|
||||
});
|
||||
setTimeout(n.close.bind(n), 5000);
|
||||
};
|
||||
@ -191,7 +191,7 @@
|
||||
var n = new Notification(contact.fullname, {
|
||||
body: __('wants to be your contact'),
|
||||
lang: _converse.i18n.locale_data.converse[""].lang,
|
||||
icon: 'logo/conversejs.png'
|
||||
icon: _converse.notification_icon
|
||||
});
|
||||
setTimeout(n.close.bind(n), 5000);
|
||||
};
|
||||
@ -201,7 +201,7 @@
|
||||
var n = new Notification(data.subject, {
|
||||
body: data.message,
|
||||
lang: _converse.i18n.locale_data.converse[""].lang,
|
||||
icon: 'logo/conversejs.png'
|
||||
icon: _converse.notification_icon
|
||||
});
|
||||
setTimeout(n.close.bind(n), 5000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user