From bd759262bbad9a7686575514f62423acba380eec Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 9 Jan 2009 18:34:56 +0000 Subject: [PATCH] Don't change sleeper state when we send a presence to a user, to not think global status has changed from invisible. see #4631 --- src/roster_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index b491839a2..39acbec6a 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1955,7 +1955,7 @@ class RosterWindow: self.send_status_continue(account, status, txt, auto, to) def send_status_continue(self, account, status, txt, auto, to): - if gajim.account_is_connected(account): + if gajim.account_is_connected(account) and not to: if status == 'online' and gajim.interface.sleeper.getState() != \ common.sleepy.STATE_UNKNOWN: gajim.sleeper_state[account] = 'online'