Commit fccf7f5a authored by louiz’'s avatar louiz’

Do not traceback when we receive a message from a JID with no resource

parent 2275b61a
......@@ -212,7 +212,7 @@ def on_normal_message(self, message):
conversation = self.get_conversation_by_jid(conv_jid, create=True)
if isinstance(conversation, tabs.DynamicConversationTab):
if isinstance(conversation, tabs.DynamicConversationTab) and conv_jid.resource:
if not own and not conversation.nick:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment