Author: asterix Date: 2007-02-12 22:51:12 +0100 (Mon, 12 Feb 2007) New Revision: 7972
Modified: trunk/src/roster_window.py Log: fixes [7955]: don't set sleeper state to off when we send a presence while autoaway.
Modified: trunk/src/roster_window.py =================================================================== --- trunk/src/roster_window.py 2007-02-12 20:50:30 UTC (rev 7971) +++ trunk/src/roster_window.py 2007-02-12 21:51:12 UTC (rev 7972) @@ -2812,7 +2812,7 @@ if status == 'online' and gajim.interface.sleeper.getState() != \ common.sleepy.STATE_UNKNOWN: gajim.sleeper_state[account] = 'online' - elif gajim.interface.sleeper.getState() == common.sleepy.STATE_UNKNOWN: + elif gajim.sleeper_state[account] not in ('autoaway', 'autoxa'): gajim.sleeper_state[account] = 'off' gajim.connections[account].change_status(status, txt, auto)