Make the X on the desktop notification bar work again

See vector-im/vector-web #464 for more info.
pull/21833/head
Kegan Dougal 2015-12-02 16:35:16 +00:00
parent aceb85130e
commit cd13041b31
1 changed files with 6 additions and 1 deletions

View File

@ -29,7 +29,7 @@ var dis = require("./dispatcher");
* }
*/
module.exports = {
var Notifier = {
notificationMessageForEvent: function(ev) {
return TextForEvent.textForEvent(ev);
@ -190,3 +190,8 @@ module.exports = {
}
};
if (!global.mxNotifier) {
global.mxNotifier = Notifier;
}
module.exports = global.mxNotifier;