changeset 231eb35e1dae in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=231eb35e1dae
description: [Dicson] fix /away command to work when we are onln #7070.

diffstat:

 src/command_system/implementation/standard.py |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r d5977484f600 -r 231eb35e1dae 
src/command_system/implementation/standard.py
--- a/src/command_system/implementation/standard.py     Tue Feb 14 21:49:48 
2012 +0100
+++ b/src/command_system/implementation/standard.py     Wed Feb 15 20:22:46 
2012 +0100
@@ -139,7 +139,7 @@
             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 @@
             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 @@
             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)
 
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to