fix logic/TB. See #1639
This commit is contained in:
parent
16bc64e7cb
commit
9209a98764
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue