You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Make the X on the desktop notification bar work again
See vector-im/vector-web #464 for more info.
This commit is contained in:
@ -29,7 +29,7 @@ var dis = require("./dispatcher");
|
|||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module.exports = {
|
var Notifier = {
|
||||||
|
|
||||||
notificationMessageForEvent: function(ev) {
|
notificationMessageForEvent: function(ev) {
|
||||||
return TextForEvent.textForEvent(ev);
|
return TextForEvent.textForEvent(ev);
|
||||||
@ -190,3 +190,8 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (!global.mxNotifier) {
|
||||||
|
global.mxNotifier = Notifier;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = global.mxNotifier;
|
Reference in New Issue
Block a user