[omemo] Return on message drop

This commit is contained in:
Philipp Hörist
2017-06-11 00:12:37 +02:00
parent 8db1bee024
commit 3f60d1e0b6

View File

@@ -493,6 +493,7 @@ class OmemoPlugin(GajimPlugin):
log.error(account + ' => Cant decrypt own GroupChat '
'Message')
msg.encrypted = 'drop'
return
else:
msg_dict['sender_jid'] = gajim. \
get_jid_without_resource(from_jid)