Enable browser notifications for messaging tools

This commit is contained in:
yflory
2018-10-02 12:08:25 +02:00
parent 1201f2dcc4
commit c5c6dc8223
5 changed files with 38 additions and 13 deletions

View File

@@ -189,8 +189,8 @@ define([
ctx.sframeChan.query('Q_LOGOUT', null, cb);
};
funcs.notify = function () {
ctx.sframeChan.event('EV_NOTIFY');
funcs.notify = function (data) {
ctx.sframeChan.event('EV_NOTIFY', data);
};
funcs.setTabTitle = function (newTitle) {
ctx.sframeChan.event('EV_SET_TAB_TITLE', newTitle);