fix autoaway

This commit is contained in:
Yann Leboulanger 2005-07-23 11:29:31 +00:00
parent 422367f28b
commit f6892ea4f4
1 changed files with 2 additions and 2 deletions

View File

@ -702,8 +702,8 @@ class Interface:
not gajim.sleeper_state[account]:
continue
if state == common.sleepy.STATE_AWAKE and \
gajim.sleeper_state[account] == 'autoaway' or \
gajim.sleeper_state[account] == 'autoxa':
(gajim.sleeper_state[account] == 'autoaway' or \
gajim.sleeper_state[account] == 'autoxa'):
#we go online
self.roster.send_status(account, 'online',
gajim.status_before_autoaway[account])