Ticket #2494 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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.

Attachments

Change History

Changed 4 years ago by jim++

  • owner changed from asterix to jim++

Yeah that's a strange behaviour. I vote for removing the check and disable

the sound by default, if it's not already the case.

Changed 4 years ago by asterix

  • milestone set to 0.11

I vote the same :)

Changed 4 years ago by asterix

  • status changed from new to closed
  • resolution set to fixed

(In [7dc7124d86a44d86fad2df46cb864b7c30d3e259]) use 'muc_message_received' sound if it is enable without checking notify_on_all_muc_messages option. Fixes #2494

Add/Change #2494 (Group chat notification sounds not working)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Next status will be 'needinfo'
 
Note: See TracTickets for help on using tickets.