This commit is contained in:
Nikos Kouremenos 2005-07-19 21:52:01 +00:00
parent f583e42837
commit 81eb629a53
1 changed files with 2 additions and 2 deletions

View File

@ -318,7 +318,7 @@ class TabbedChatWindow(chat.Chat):
if yes we go active if not already if yes we go active if not already
if no we go paused if not already ''' if no we go paused if not already '''
current_state = self.chatstates[contact.jid] current_state = self.chatstates[contact.jid]
if current_state = False: # he doesn't support chatstates if current_state == False: # he doesn't support chatstates
return False # stop looping return False # stop looping
if self.mouse_over_in_last_5_secs: if self.mouse_over_in_last_5_secs:
self.send_chatstate('active') self.send_chatstate('active')
@ -336,7 +336,7 @@ class TabbedChatWindow(chat.Chat):
if yes we go active if not already if yes we go active if not already
if no we go inactive if not already ''' if no we go inactive if not already '''
current_state = self.chatstates[contact.jid] current_state = self.chatstates[contact.jid]
if current_state = False: # he doesn't support chatstates if current_state == False: # he doesn't support chatstates
return False # stop looping return False # stop looping
if self.mouse_over_in_last_5_secs: if self.mouse_over_in_last_5_secs:
self.send_chatstate('active') self.send_chatstate('active')