RocketChat / RocketChat/Rocket.Chat
Desktop sound notification not playing when account preference not overridden
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
It seems sound notification for a new message is not played when only account preference is set (and per channel is "default").
Steps to reproduce:
- In your account preferences, in Sound section, check new message notification option. I have for example "Chime".
- Go to a channel and in its notification preferences.
- Check in Desktop, that audio option is not set to never play sound.
- Check in Desktop, that sound selection is Default.
- Result : New message don't play the sound. (NOK)
Then :
- Go back to the channel and in its notification preferences.
- Choose another sound in Desktop > Sound (for example Seasons).
- Result : New message do play the selected sound. (OK)
Then :
- Go back to the channel and its notification preferences.
- Choose default for Desktop > Sound.
- Go to your account preferences, in Sound section.
- Select another sound in new message notification option (for example Seasons).
- Résult : New message don't play the sound. (NOK)
Expected behavior:
The sound set in account preferences should play even if not overridden in channel preferences.
Actual behavior:
See "Steps to reproduce".
Server Setup Information:
- Version of Rocket.Chat Server: 3.13.1
- Operating System: Linux
Client Setup Information
- Desktop App or Browser Version: Firefox ESR and Chromium
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the notification behavior with an account sound selected and the channel sound set to Default, then trace how those preferences are resolved for new-message notifications. Done means the account-level sound plays when the channel does not override it, while an explicit channel sound still plays its selected sound.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100