diff options
Diffstat (limited to 'src/session.py')
-rw-r--r-- | src/session.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.py b/src/session.py index 70a101a61..4f198ffb8 100644 --- a/src/session.py +++ b/src/session.py @@ -62,7 +62,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession): chatstate = None # chatstates - look for chatstate tags in a message if not delayed - delayed = msg.getTag('x', namespace=common.xmpp.NS_DELAY) != None + delayed = msg.getTag('x', namespace=common.xmpp.NS_DELAY) is not None if not delayed: composing_xep = False children = msg.getChildren() |