Author: asterix Date: 2007-02-08 17:21:28 +0100 (Thu, 08 Feb 2007) New Revision: 7955
Modified: trunk/src/roster_window.py Log: don't set sleeper state to off when we send a presence while not online
Modified: trunk/src/roster_window.py =================================================================== --- trunk/src/roster_window.py 2007-02-07 22:05:52 UTC (rev 7954) +++ trunk/src/roster_window.py 2007-02-08 16:21:28 UTC (rev 7955) @@ -2812,7 +2812,7 @@ if status == 'online' and gajim.interface.sleeper.getState() != \ common.sleepy.STATE_UNKNOWN: gajim.sleeper_state[account] = 'online' - else: + elif gajim.interface.sleeper.getState() == common.sleepy.STATE_UNKNOWN: gajim.sleeper_state[account] = 'off' gajim.connections[account].change_status(status, txt, auto)