we can show notification windows even if we don't play sound
This commit is contained in:
parent
00c7b60f18
commit
457a800cf4
|
@ -224,9 +224,10 @@ class Interface:
|
||||||
#It isn't an agent
|
#It isn't an agent
|
||||||
self.roster.chg_user_status(user1, array[1], array[2], account)
|
self.roster.chg_user_status(user1, array[1], array[2], account)
|
||||||
#play sound
|
#play sound
|
||||||
if old_show < 2 and new_show > 1 and gajim.config.get_per( \
|
if old_show < 2 and new_show > 1:
|
||||||
'soundevents', 'contact_connected', 'enabled'):
|
if gajim.config.get_per('soundevents', 'contact_connected',
|
||||||
self.play_sound('contact_connected')
|
'enabled'):
|
||||||
|
self.play_sound('contact_connected')
|
||||||
if not self.windows[account]['chats'].has_key(jid) and \
|
if not self.windows[account]['chats'].has_key(jid) and \
|
||||||
not self.queues[account].has_key(jid) and \
|
not self.queues[account].has_key(jid) and \
|
||||||
gajim.config.get('notify_on_online'):
|
gajim.config.get('notify_on_online'):
|
||||||
|
|
Loading…
Reference in New Issue