From 806485dbe02fae15309d8714e1610dc596768994 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 8 Jan 2017 12:58:22 +0100 Subject: Fix a crash when using XEP-0380 (which nobody uses yet) --- poezio/core/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3