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

@@ -4,6 +4,7 @@ import VueI18n from 'vue-i18n';
import store from '../widget/store';
import App from '../widget/App.vue';
import ActionCableConnector from '../widget/helpers/actionCable';
import { getAlertAudio } from 'shared/helpers/AudioNotificationHelper';
import i18n from '../widget/i18n';
Vue.use(VueI18n);
@@ -30,4 +31,5 @@ window.onload = () => {
window.WOOT_WIDGET,
window.chatwootPubsubToken
);
getAlertAudio();
};