Small bugfix for encrypted conversations

This commit is contained in:
tmolitor 2016-07-17 14:23:22 +02:00
parent 453fd46427
commit 79358dc7dc
1 changed files with 1 additions and 1 deletions

View File

@ -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'