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:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-02-18 12:44:10 +0300
committerGitHub <noreply@github.com>2022-02-18 12:44:10 +0300
commit47d17758599b621f4e7c361c1fd46101205dff1d (patch)
tree34f53a187d5d32d1f7b7471cadd48535f4397947
parent7e57def3da5ae82e3f9d23b22be0e2b2655fb296 (diff)
parent3411fd657d79403d1c755ee48b8ea5ec43f7ee83 (diff)
Merge pull request #6918 from nextcloud/fix-stopping-waiting-sound
Fix stopping waiting sound
-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')