You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Don't pause the audio when we hide the notif: shouldn't be necessary and could cause sound to stop mid-way if a prior notif times out while the sound from a later one is playing.
This commit is contained in:
@ -100,9 +100,6 @@ var Notifier = {
|
|||||||
|
|
||||||
global.setTimeout(function() {
|
global.setTimeout(function() {
|
||||||
notification.close();
|
notification.close();
|
||||||
if (audioClip) {
|
|
||||||
audioClip.pause();
|
|
||||||
}
|
|
||||||
}, 5 * 1000);
|
}, 5 * 1000);
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user