summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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