fix undefined 'session' variable in _messageCB
This commit is contained in:
parent
dc89b61d37
commit
ccca9332c6
|
@ -1740,7 +1740,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
||||||
'\x09\x20\x20\x09\x20', '')
|
'\x09\x20\x20\x09\x20', '')
|
||||||
msgtxt = msgtxt.replace('\x20\x20\x09' \
|
msgtxt = msgtxt.replace('\x20\x20\x09' \
|
||||||
'\x09\x20\x20\x09\x20', '')
|
'\x09\x20\x20\x09\x20', '')
|
||||||
elif mtype != 'groupchat':
|
|
||||||
|
if mtype != 'groupchat':
|
||||||
session = self.get_or_create_session(frm, thread_id)
|
session = self.get_or_create_session(frm, thread_id)
|
||||||
|
|
||||||
if thread_id and not session.received_thread_id:
|
if thread_id and not session.received_thread_id:
|
||||||
|
|
Loading…
Reference in New Issue