change status message in status combobox and in systray now concern only accounts that have sync_with_global_status True
This commit is contained in:
parent
9fb9a453eb
commit
7dffeb86df
|
@ -1424,6 +1424,9 @@ _('If "%s" accepts this request you will know his status.') %jid)
|
|||
message = dlg.run()
|
||||
if message is not None: # None if user pressed Cancel
|
||||
for acct in accounts:
|
||||
if not gajim.config.get_per('accounts', acct,
|
||||
'sync_with_global_status'):
|
||||
continue
|
||||
show = gajim.SHOW_LIST[gajim.connections[acct].connected]
|
||||
self.send_status(acct, show, message)
|
||||
return
|
||||
|
|
|
@ -318,6 +318,9 @@ class Systray:
|
|||
if message is not None: # None if user press Cancel
|
||||
accounts = gajim.connections.keys()
|
||||
for acct in accounts:
|
||||
if not gajim.config.get_per('accounts', acct,
|
||||
'sync_with_global_status'):
|
||||
continue
|
||||
show = gajim.SHOW_LIST[gajim.connections[acct].connected]
|
||||
self.plugin.roster.send_status(acct, show, message)
|
||||
|
||||
|
|
Loading…
Reference in New Issue