feat: Adds sound alert notification for new messages on the widget (#3181)

* feat: Adds sound alert notification for new messages on the widget

* Review fixes

* uses absolute path

* Minor fixes

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
Sivin Varghese
2021-10-18 18:39:04 +05:30
committed by GitHub
parent 3b3ab39ca3
commit 050df43789
3 changed files with 10 additions and 0 deletions

View File

@@ -94,3 +94,7 @@ export const newMessageNotification = data => {
showBadgeOnFavicon();
}
};
export const playNewMessageNotificationInWidget = () => {
window.playAudioAlert();
};