From 7092a5f9c86bacd0b9c3f068a11395825c1b0041 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 6 Dec 2017 20:05:26 +0100 Subject: [PATCH] fix: view.main (added remote notification sound) --- view/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/main.js b/view/main.js index 4094463..fc67124 100755 --- a/view/main.js +++ b/view/main.js @@ -114,7 +114,7 @@ window.wsc_chat = wsc.channel('chat').listen(function(msg, err){ // {4} Play sound if 1msg received + not already on page // // note: 1msg means a new message but not the page load past buffer if( msg.msg.length == 1 && router.app.$route.path != '/inbox' ) - ( new Audio('/sound/notification.mp3') ).play(); + ( new Audio('https://notificationsounds.com/message-tones/communication-channel-519/download/mp3') ).play(); // {5} Add messages to stack // gstore.data.notif[1].data = gstore.data.notif[1].data.concat( msg.msg );