fix logic/TB. See #1639

This commit is contained in:
Yann Leboulanger 2006-03-02 06:49:25 +00:00
parent 16bc64e7cb
commit 9209a98764
1 changed files with 4 additions and 3 deletions

View File

@ -417,9 +417,10 @@ class Connection:
# No JEP-0085 support, fallback to JEP-0022
if not chatstate:
chatstate_child = msg.getTag('x', namespace = common.xmpp.NS_EVENT)
chatstate = 'active'
if not msgtxt and chatstate_child.getTag('composing'):
chatstate = 'composing'
if chatstate_child:
chatstate = 'active'
if not msgtxt and chatstate_child.getTag('composing'):
chatstate = 'composing'
if encTag and USE_GPG:
#decrypt