reset status_before_autoaway var when we come back online

This commit is contained in:
Yann Leboulanger 2007-01-31 20:39:44 +00:00
parent b02cdd378d
commit f079604c15
1 changed files with 5 additions and 4 deletions

View File

@ -1660,6 +1660,7 @@ class Interface:
# we go online
self.roster.send_status(account, 'online',
gajim.status_before_autoaway[account])
gajim.status_before_autoaway[account] = ''
gajim.sleeper_state[account] = 'online'
elif state == common.sleepy.STATE_AWAY and \
gajim.sleeper_state[account] == 'online' and \