diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-09 21:02:37 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-11-09 21:02:37 +0100 |
commit | e6663c317c27efba3cfeea498d9ff91695e913ec (patch) | |
tree | 6293e6d942c64c53ab8ed801d6b2364709b0fffa | |
parent | a7ed473437b6bc476c579e2e778947c572e7cd40 (diff) | |
download | poezio-e6663c317c27efba3cfeea498d9ff91695e913ec.tar.gz poezio-e6663c317c27efba3cfeea498d9ff91695e913ec.tar.bz2 poezio-e6663c317c27efba3cfeea498d9ff91695e913ec.tar.xz poezio-e6663c317c27efba3cfeea498d9ff91695e913ec.zip |
Do not display an empty message when only a chatstate is received
(again).
-rw-r--r-- | src/core.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py index 35e2040f..b352f627 100644 --- a/src/core.py +++ b/src/core.py @@ -621,9 +621,7 @@ class Core(object): if not body: if message['type'] == 'error': self.information(self.get_error_message_from_error_stanza(message), 'Error') - return - elif not conversation: - return + return conversation = self.get_tab_of_conversation_with_jid(jid, create=True) self.events.trigger('conversation_msg', message, conversation) body = xhtml.get_body_from_message_stanza(message) |