It seems a like a feature multiple users are going to request, so let me ask some follow up questions so I'm clear on what's being looked for:
1) The current Simple Chat
does already have per message notifications. It uses the Web Notifications API built in to the browser - so when a user posts a new message you'll see a notification in your OS that a new message has been posted. Depending on your browser/OS, this usually is in the upper right corner of your screen (at least it is on Mac with Chrome or FF). We felt this was the best type of notification setup, since it allows the user full control. Is this good enough or must there also be a sound?
2) If there IS a sound that plays, let's imagine a public chat room with 50 people in it all talking away. How do we deal with 1, 2 5 or 10 new messages that all come in at the same time? I'm assuming that you would want per-chat audio controls which increases the complexity significantly, degrades the user experience and gets us into corner case situations where the user could be bombarded by sounds when they are not expecting it.
This is one of those features I can see that starts out as a simple "idea" but turns into a much more complex setup as we have to account for the different use cases and settings that a user might need to "manage" their sounds.
Let me know what you think.
Thanks!
--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net