use loudNotification for flashFrame, resetting on count=0 or focus
win32 check is optional just there so we're not attaching pointless handlers Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
0e742cec27
commit
33ee42f821
2 changed files with 16 additions and 12 deletions
|
@ -124,6 +124,10 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||
return notification;
|
||||
}
|
||||
|
||||
loudNotification(ev: Event, room: Object) {
|
||||
ipcRenderer.send('loudNotification');
|
||||
}
|
||||
|
||||
clearNotification(notif: Notification) {
|
||||
notif.close();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue