Skip to content
Snippets Groups Projects
Commit 457a800c authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

we can show notification windows even if we don't play sound

parent 00c7b60f
No related branches found
No related tags found
No related merge requests found
......@@ -224,9 +224,10 @@ class Interface:
#It isn't an agent
self.roster.chg_user_status(user1, array[1], array[2], account)
#play sound
if old_show < 2 and new_show > 1 and gajim.config.get_per( \
'soundevents', 'contact_connected', 'enabled'):
self.play_sound('contact_connected')
if old_show < 2 and new_show > 1:
if gajim.config.get_per('soundevents', 'contact_connected',
'enabled'):
self.play_sound('contact_connected')
if not self.windows[account]['chats'].has_key(jid) and \
not self.queues[account].has_key(jid) and \
gajim.config.get('notify_on_online'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment