summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-01-08 12:58:22 +0100
committermathieui <mathieui@mathieui.net>2017-01-08 12:58:34 +0100
commit806485dbe02fae15309d8714e1610dc596768994 (patch)
tree82f1e4ee7ba769e26d9a9f4fe5cc773cd4cab30b
parentfdb61cda2724f5cc79dedec4ecf041a92450216b (diff)
downloadpoezio-806485dbe02fae15309d8714e1610dc596768994.tar.gz
poezio-806485dbe02fae15309d8714e1610dc596768994.tar.bz2
poezio-806485dbe02fae15309d8714e1610dc596768994.tar.xz
poezio-806485dbe02fae15309d8714e1610dc596768994.zip
Fix a crash when using XEP-0380
(which nobody uses yet)
-rw-r--r--poezio/core/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index a0d40dd4..3ce71af6 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -262,7 +262,7 @@ class HandlerCore:
if not self.core.xmpp.plugin['xep_0380'].has_eme(message):
return
self.core.xmpp.plugin['xep_0380'].replace_body_with_eme(message)
- body = msg['body']
+ body = message['body']
remote_nick = ''
# normal message, we are the recipient