inactive -> composing also not valid

This commit is contained in:
Nikos Kouremenos 2005-07-19 23:06:20 +00:00
parent b566a9a0db
commit ab3beb37b3
1 changed files with 5 additions and 1 deletions

View File

@ -453,7 +453,11 @@ class TabbedChatWindow(chat.Chat):
# if we're inactive prevent paused (inactive is stronger) # if we're inactive prevent paused (inactive is stronger)
if self.chatstates[jid] == = 'inactive' and state == 'paused': if self.chatstates[jid] == = 'inactive' and state == 'paused':
return True return
# if we're inactive prevent paused (inactive is stronger)
if self.chatstates[jid] == = 'inactive' and state == 'composing':
return
self.chatstates[jid] = state self.chatstates[jid] = state
gajim.connections[self.account].send_message(jid, None, None, gajim.connections[self.account].send_message(jid, None, None,