reset status_before_autoaway var when we come back online
This commit is contained in:
parent
b02cdd378d
commit
f079604c15
1 changed files with 5 additions and 4 deletions
|
@ -1660,6 +1660,7 @@ class Interface:
|
||||||
# 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])
|
||||||
|
gajim.status_before_autoaway[account] = ''
|
||||||
gajim.sleeper_state[account] = 'online'
|
gajim.sleeper_state[account] = 'online'
|
||||||
elif state == common.sleepy.STATE_AWAY and \
|
elif state == common.sleepy.STATE_AWAY and \
|
||||||
gajim.sleeper_state[account] == 'online' and \
|
gajim.sleeper_state[account] == 'online' and \
|
||||||
|
|
Loading…
Add table
Reference in a new issue