When we receive a message, open a tab with the concerned FULL jid.

This commit is contained in:
Florent Le Coz 2011-11-12 06:09:22 +01:00
parent a1096281e0
commit e677a5bec1

View file

@ -615,8 +615,8 @@ class Core(object):
conversation = self.get_tab_by_name(jid.bare, tabs.ConversationTab)
if not conversation:
if create:
# We create the conversation with the bare Jid if nothing was found
conversation = self.open_conversation_window(jid.bare, False)
# We create the conversation with the full Jid if nothing was found
conversation = self.open_conversation_window(jid.full, False)
else:
conversation = None
return conversation