take into account only the accounts that are synced with global status to compute the global status (for status combobox)
This commit is contained in:
parent
0cd7356807
commit
51dc8afb09
|
@ -483,6 +483,9 @@ def get_output_of_command(command):
|
|||
def get_global_show():
|
||||
maxi = 0
|
||||
for account in gajim.connections:
|
||||
if not gajim.config.get_per('accounts', account,
|
||||
'sync_with_global_status'):
|
||||
continue
|
||||
connected = gajim.connections[account].connected
|
||||
if connected > maxi:
|
||||
maxi = connected
|
||||
|
|
Loading…
Reference in New Issue