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

[Dicson] fix /away command to work when we are onln #7070.

parent 00e53b25
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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