Ticket #2494 (closed defect: fixed)
Group chat notification sounds not working
| Reported by: | NOSPAMgilesp(a)u_washington_edu | Owned by: | jim++ |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | chat | Version: | hg |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| OS: | Blocking: |
Description
Couldn't get sound notifications on group chat message receipt, though I put some effort into doing so in Preferences / Advanced Config Editor. Did some debugging to see what was going on. Found this in groupchat_control.py (in the highlighting_for_message method):
# Do we play a sound on every muc message?
if gajim.config.get_per('soundevents', 'muc_message_received', 'enabled'):
if gajim.config.get('notify_on_all_muc_messages'):
sound = 'received'
Looked in advanced config editor, found "notify_on_all_muc_messages" which is set to false. This config value doesn't seem to be exposed through the Preferences interface (at least I couldn't find it :P), so setting a sound alert for Group Chat Message Received in the Events tab doesn't do anything. I suggest either removing the check of notify_on_all_muc_messages, or exposing that property in Preferences.
