-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom notification sounds, globally and per room. #2105
Comments
Did this solve it globally or just per room? |
Technically yes. Riot supports setting a global custom sound as well as a room one, however only the room UI is exposed. You'll need to use the developer tools to set global sounds for now. |
Thanks, man. |
For clarification, what file formats are readable when it comes to custom notification sounds right now? |
IIRC, we don't validate beyond what your browser supports. E.g. I'd expect ogg/mp3/wav to be supported. |
@Half-Shot "You'll need to use the developer tools" Can I ask for something a bit more specific? I'd like to replace the global sound and am very comfortable with messing around in hidder settings/making temporary changes, but I'm drawing a blank in terms of where in the developer tools I need to poke around. Thanks. |
Same question here. I'm just starting to poke around at this as I have a lot of users unhappy with the default sound. |
Fair warning that the following steps may void your warranty or brick your client. To change the sound globally:
e.g. "notificationSound": {
"name": "your-sound-name.ogg",
"type": "audio/yourmimetype",
"size": 0000,
"url": "mxc://half-shot.uk/59770ed76c3527ba43b54b1791589ca5a95a5b43"
},
|
Suggest further commentary on global sounds takes place on #20286 |
@Half-Shot, I think you need to flip the order of |
Kinda surprised this hasn't been suggested yet, given how useful it could be for users who are not a fan of the notification sound, or who have a bazillion rooms and would like to be able to distinguish them audibly.
The implementation could work like:
/_matrix/client/r0/user/@Half-Shot:half-shot.uk/rooms/!somethinghere:matrix.org/account_data/org.matrix.notifysound
(or omit the room for global)
Pitfalls:
The text was updated successfully, but these errors were encountered: