Skip to content
Snippets Groups Projects
Commit 97d918d8 authored by nkour's avatar nkour
Browse files

[peralta] inactive is stronger than paused so do not allow going paused if inactive

parent c7c695d9
No related branches found
No related tags found
No related merge requests found
......@@ -320,6 +320,10 @@ class TabbedChatWindow(chat.Chat):
current_state = self.chatstates[contact.jid]
if current_state == False: # he doesn't support chatstates
return False # stop looping
# if we're inactive prevent paused (inactive is stronger)
if current_state = 'inactive':
return True
print 'mouse', self.mouse_over_in_last_5_secs
print 'kbd', self.kbd_activity_in_last_5_secs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment