Fix get_conversation_by_jid when a string is passed.
This commit is contained in:
parent
0f7b680c12
commit
c9ea00b963
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue