Fix get_conversation_by_jid when a string is passed.

This commit is contained in:
Florent Le Coz 2012-07-27 16:07:27 +02:00
parent 0f7b680c12
commit c9ea00b963

View file

@ -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: