inactive -> composing also not valid
This commit is contained in:
parent
b566a9a0db
commit
ab3beb37b3
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue