summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 22bc0044..9de53b51 100644
--- a/src/core.py
+++ b/src/core.py
@@ -2885,6 +2885,8 @@ class Core(object):
conversation.nick = remote_nick
self.events.trigger('conversation_msg', message, conversation)
+ if not message['body']:
+ return
body = xhtml.get_body_from_message_stanza(message)
delayed, date = common.find_delayed_tag(message)