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 06:09:04 -07:00
committed by GitHub
co-authored by Muhsin Keloth
parent 3b3ab39ca3
commit 050df43789
3 changed files with 10 additions and 0 deletions
@@ -94,3 +94,7 @@ export const newMessageNotification = data => {
showBadgeOnFavicon();
}
};
export const playNewMessageNotificationInWidget = () => {
window.playAudioAlert();
};