summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 1bedf2ef..b783f538 100644
--- a/src/core.py
+++ b/src/core.py
@@ -623,6 +623,7 @@ class Core(object):
If none already exist, and create is "True", we create it
and return it. Otherwise, we return None
"""
+ jid = JID(jid)
# We first check if we have a conversation opened with this precise resource
conversation = self.get_tab_by_name(jid.full, tabs.ConversationTab)
if not conversation: