diff --git a/.changeset/perfect-oranges-judge.md b/.changeset/perfect-oranges-judge.md new file mode 100644 index 0000000000000..0edb98b30ae5c --- /dev/null +++ b/.changeset/perfect-oranges-judge.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/meteor": patch +--- + +Fixes Omnichannel's continuous sound notification not playing as expected diff --git a/apps/meteor/client/hooks/useOmnichannelContinuousSoundNotification.ts b/apps/meteor/client/hooks/useOmnichannelContinuousSoundNotification.ts index bcfdf40ae0b81..639b4cb7af22e 100644 --- a/apps/meteor/client/hooks/useOmnichannelContinuousSoundNotification.ts +++ b/apps/meteor/client/hooks/useOmnichannelContinuousSoundNotification.ts @@ -47,7 +47,7 @@ export const useOmnichannelContinuousSoundNotification = (queue: T[]) => { } CustomSounds.play(continuousCustomSoundId, { - volume: notificationsSoundVolume, + volume: notificationsSoundVolume / 100, loop: true, }); }, [continuousCustomSoundId, playNewRoomSoundContinuously, userSubscriptions, notificationsSoundVolume, hasUnreadRoom]);