Small bugfix for encrypted conversations
This commit is contained in:
parent
453fd46427
commit
79358dc7dc
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
|
||||||
self.control.change_resource(self.resource)
|
self.control.change_resource(self.resource)
|
||||||
|
|
||||||
if obj.mtype == 'chat':
|
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
|
return
|
||||||
|
|
||||||
log_type = 'chat_msg'
|
log_type = 'chat_msg'
|
||||||
|
|
Loading…
Add table
Reference in a new issue