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
|
# No JEP-0085 support, fallback to JEP-0022
|
||||||
if not chatstate:
|
if not chatstate:
|
||||||
chatstate_child = msg.getTag('x', namespace = common.xmpp.NS_EVENT)
|
chatstate_child = msg.getTag('x', namespace = common.xmpp.NS_EVENT)
|
||||||
chatstate = 'active'
|
if chatstate_child:
|
||||||
if not msgtxt and chatstate_child.getTag('composing'):
|
chatstate = 'active'
|
||||||
chatstate = 'composing'
|
if not msgtxt and chatstate_child.getTag('composing'):
|
||||||
|
chatstate = 'composing'
|
||||||
|
|
||||||
if encTag and USE_GPG:
|
if encTag and USE_GPG:
|
||||||
#decrypt
|
#decrypt
|
||||||
|
|
Loading…
Reference in New Issue