fixes [7955]: don't set sleeper state to off when we send a presence while autoaway.
This commit is contained in:
parent
37f10e8d68
commit
b55a0c097e
|
@ -2812,7 +2812,7 @@ class RosterWindow:
|
|||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue