From c28eaaa58560b62cad757f2372dc507505062fb1 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Tue, 30 Aug 2005 21:38:59 +0000 Subject: [PATCH] do not sign auto statuses --- src/gajim.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index ac26b0107..4eff70221 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -815,9 +815,9 @@ class Interface: continue if state == common.sleepy.STATE_AWAKE and \ gajim.sleeper_state[account] in ('autoaway', 'autoxa'): - #we go online + #we go online [we pass True to auto param] self.roster.send_status(account, 'online', - gajim.status_before_autoaway[account]) + gajim.status_before_autoaway[account], True) gajim.sleeper_state[account] = 'online' elif state == common.sleepy.STATE_AWAY and \ gajim.sleeper_state[account] == 'online' and \ @@ -825,17 +825,17 @@ class Interface: #we save out online status gajim.status_before_autoaway[account] = \ gajim.connections[account].status - #we go away (no auto status) + #we go away (no auto status) [we pass True to auto param] self.roster.send_status(account, 'away', - gajim.config.get('autoaway_message')) + gajim.config.get('autoaway_message'), True) gajim.sleeper_state[account] = 'autoaway' elif state == common.sleepy.STATE_XAWAY and (\ gajim.sleeper_state[account] == 'autoaway' or \ gajim.sleeper_state[account] == 'online') and \ gajim.config.get('autoxa'): - #we go extended away + #we go extended away [we pass True to auto param] self.roster.send_status(account, 'xa', - gajim.config.get('autoxa_message')) + gajim.config.get('autoxa_message'), True) gajim.sleeper_state[account] = 'autoxa' return True # renew timeout (loop for ever)