summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-12 06:09:22 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-12 06:09:22 +0100
commite677a5bec1fec0bca3131754dd7cb3260ff10c94 (patch)
treed06347cc2caa782734c5b3fc0eec12bf63482f3c
parenta1096281e0c344846c4a86fe5b5a385c94604a13 (diff)
downloadpoezio-e677a5bec1fec0bca3131754dd7cb3260ff10c94.tar.gz
poezio-e677a5bec1fec0bca3131754dd7cb3260ff10c94.tar.bz2
poezio-e677a5bec1fec0bca3131754dd7cb3260ff10c94.tar.xz
poezio-e677a5bec1fec0bca3131754dd7cb3260ff10c94.zip
When we receive a message, open a tab with the concerned FULL jid.
-rw-r--r--src/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index ddb63502..1f93324d 100644
--- a/src/core.py
+++ b/src/core.py
@@ -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