Small bugfix for encrypted conversations
This commit is contained in:
parent
453fd46427
commit
79358dc7dc
|
@ -83,7 +83,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
|
|||
self.control.change_resource(self.resource)
|
||||
|
||||
if obj.mtype == 'chat':
|
||||
if not obj.stanza.getTag('body') and obj.chatstate is None:
|
||||
if not obj.msgtxt and obj.chatstate is None:
|
||||
return
|
||||
|
||||
log_type = 'chat_msg'
|
||||
|
|
Loading…
Reference in New Issue