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

take into account only the accounts that are synced with global status to...

take into account only the accounts that are synced with global status to compute the global status (for status combobox)
parent 0cd73568
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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