This commit is contained in:
parent
24d7700094
commit
7bb19f5b9b
2 changed files with 15 additions and 0 deletions
|
|
@ -150,5 +150,13 @@ function registerNotifications(stream: HomeStreamManager) {
|
|||
};
|
||||
setTimeout(n.close.bind(n), 7000);
|
||||
});
|
||||
|
||||
connection.on('othello_invited', matching => {
|
||||
const _n = composeNotification('othello_invited', matching);
|
||||
const n = new Notification(_n.title, {
|
||||
body: _n.body,
|
||||
icon: _n.icon
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue