fix: Omnichannel continuous sound notification not being played (#35480)

pull/35370/head^2
Aleksander Nicacio da Silva 1 year ago committed by GitHub
parent c44331e0d9
commit 1001da65d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      .changeset/perfect-oranges-judge.md
  2. 2
      apps/meteor/client/hooks/useOmnichannelContinuousSoundNotification.ts

@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---
Fixes Omnichannel's continuous sound notification not playing as expected

@ -47,7 +47,7 @@ export const useOmnichannelContinuousSoundNotification = <T>(queue: T[]) => {
}
CustomSounds.play(continuousCustomSoundId, {
volume: notificationsSoundVolume,
volume: notificationsSoundVolume / 100,
loop: true,
});
}, [continuousCustomSoundId, playNewRoomSoundContinuously, userSubscriptions, notificationsSoundVolume, hasUnreadRoom]);

Loading…
Cancel
Save