fix autoaway
This commit is contained in:
parent
422367f28b
commit
f6892ea4f4
|
@ -702,8 +702,8 @@ class Interface:
|
||||||
not gajim.sleeper_state[account]:
|
not gajim.sleeper_state[account]:
|
||||||
continue
|
continue
|
||||||
if state == common.sleepy.STATE_AWAKE and \
|
if state == common.sleepy.STATE_AWAKE and \
|
||||||
gajim.sleeper_state[account] == 'autoaway' or \
|
(gajim.sleeper_state[account] == 'autoaway' or \
|
||||||
gajim.sleeper_state[account] == 'autoxa':
|
gajim.sleeper_state[account] == 'autoxa'):
|
||||||
#we go online
|
#we go online
|
||||||
self.roster.send_status(account, 'online',
|
self.roster.send_status(account, 'online',
|
||||||
gajim.status_before_autoaway[account])
|
gajim.status_before_autoaway[account])
|
||||||
|
|
Loading…
Reference in New Issue