diff --git a/src/command_system/implementation/standard.py b/src/command_system/implementation/standard.py index 76aad42343dd43d89d653f1e1f582ec7ac7b61af..04741c3982fcbd246fcaf97369e0e84e3efab3c9 100644 --- a/src/command_system/implementation/standard.py +++ b/src/command_system/implementation/standard.py @@ -139,7 +139,7 @@ class StandardCommonCommands(CommandContainer): if not gajim.config.get_per('accounts', connection.name, 'sync_with_global_status'): continue - if connection.connected <= 2: + if connection.connected < 2: continue connection.change_status(status, message) @@ -153,7 +153,7 @@ class StandardCommonCommands(CommandContainer): if not gajim.config.get_per('accounts', connection.name, 'sync_with_global_status'): continue - if connection.connected <= 2: + if connection.connected < 2: continue connection.change_status('away', message) @@ -167,7 +167,7 @@ class StandardCommonCommands(CommandContainer): if not gajim.config.get_per('accounts', connection.name, 'sync_with_global_status'): continue - if connection.connected <= 2: + if connection.connected < 2: continue connection.change_status('online', message)