Fix a crash when using XEP-0380

(which nobody uses yet)
This commit is contained in:
mathieui 2017-01-08 12:58:22 +01:00
parent fdb61cda27
commit 806485dbe0

View file

@ -262,7 +262,7 @@ class HandlerCore:
if not self.core.xmpp.plugin['xep_0380'].has_eme(message): if not self.core.xmpp.plugin['xep_0380'].has_eme(message):
return return
self.core.xmpp.plugin['xep_0380'].replace_body_with_eme(message) self.core.xmpp.plugin['xep_0380'].replace_body_with_eme(message)
body = msg['body'] body = message['body']
remote_nick = '' remote_nick = ''
# normal message, we are the recipient # normal message, we are the recipient