RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.4k stars 10.51k forks source link

Setting a channel's audio sound and then putting back "default" breaks audio notifications. #22071

Open tmartincpp opened 3 years ago

tmartincpp commented 3 years ago

Description:

Setting a channel's audio sound and then putting back "Default" breaks audio notifications. It looks like the same issue than #15427

Steps to reproduce:

  1. Use a fresh docker installation (tested with 3.12.4 and 3.14.0)
  2. Go to the general channel (or create a new one)
  3. Test a desktop audio notification (it will work)
  4. Modify the Desktop sound in the "Notifications Preferences" of the channel
  5. Test it (it will work with the sound configured)
  6. Set the Desktop sound back to "Default"
  7. Test it (it will not work, there will be no sound alert)

Expected behavior:

Setting the Desktop sound back to "Default" should work.

Actual behavior:

Setting the Desktop sound back to "Default" does not work.

Server Setup Information:

Client Setup Information

johncrisp commented 3 years ago

Hi and thanks for reporting this.

Does this apply to all clients - eg browsers/Electron etc?

tmartincpp commented 3 years ago

Hi @johncrisp ,

I can reproduce with both Electron and Chromium so yes I think this apply to all clients.

tmartincpp commented 3 years ago

I can reproduce with 3.15.0.

tmartincpp commented 3 years ago

Same with 3.16.1.

tmartincpp commented 3 years ago

Still happens in 3.18.2 and 4.0.1 (open.rocket.chat).

Can be test quite simply by playing the "Default" sound in the notifications preferences, it does not work.