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
1 changed files with 1 additions and 1 deletions
|
@ -2812,7 +2812,7 @@ class RosterWindow:
|
||||||
if status == 'online' and gajim.interface.sleeper.getState() != \
|
if status == 'online' and gajim.interface.sleeper.getState() != \
|
||||||
common.sleepy.STATE_UNKNOWN:
|
common.sleepy.STATE_UNKNOWN:
|
||||||
gajim.sleeper_state[account] = 'online'
|
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.sleeper_state[account] = 'off'
|
||||||
gajim.connections[account].change_status(status, txt, auto)
|
gajim.connections[account].change_status(status, txt, auto)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue