Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sounds.js')
-rw-r--r--src/utils/sounds.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/sounds.js b/src/utils/sounds.js
index d0cfe3440..d97ec0647 100644
--- a/src/utils/sounds.js
+++ b/src/utils/sounds.js
@@ -65,12 +65,14 @@ export const Sounds = {
this.playedWaiting = 0
this.backgroundInterval = setInterval(() => {
if (!store.getters.playSounds) {
+ this._stopWaiting()
return
}
if (this.playedWaiting >= 3) {
// Played 3 times, so we stop now.
this._stopWaiting()
+ return
}
console.debug('Playing waiting sound')