Don't change sleeper state when we send a presence to a user, to not think global status has changed from invisible. see #4631
This commit is contained in:
parent
93b63ea843
commit
bd759262bb
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue