don't send music changement if we're not correctly connected
This commit is contained in:
parent
49b7eef9da
commit
e4a2ee3cca
|
@ -3699,7 +3699,9 @@ class RosterWindow:
|
||||||
if not gajim.config.get_per('accounts', account,
|
if not gajim.config.get_per('accounts', account,
|
||||||
'sync_with_global_status'):
|
'sync_with_global_status'):
|
||||||
continue
|
continue
|
||||||
if not gajim.connections[account].connected:
|
if gajim.connections[account].connected < gajim.SHOW_LIST.index(
|
||||||
|
'online') or gajim.connections[account].connected > gajim.SHOW_LIST.\
|
||||||
|
index('invisible'):
|
||||||
continue
|
continue
|
||||||
current_show = gajim.SHOW_LIST[gajim.connections[account].connected]
|
current_show = gajim.SHOW_LIST[gajim.connections[account].connected]
|
||||||
self.send_status(account, current_show, status_message)
|
self.send_status(account, current_show, status_message)
|
||||||
|
|
Loading…
Reference in New Issue