summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-11-05 14:11:53 +0100
committermathieui <mathieui@mathieui.net>2012-11-05 14:11:53 +0100
commit743ec0f135700d1e358d70b3876b840d3fc1caaf (patch)
tree3f55fdf6b91f5f1ba23bc5cbd1892cae85e7add6 /src
parentbcd6976cd581a279d9c001269439d303fa549d70 (diff)
downloadpoezio-743ec0f135700d1e358d70b3876b840d3fc1caaf.tar.gz
poezio-743ec0f135700d1e358d70b3876b840d3fc1caaf.tar.bz2
poezio-743ec0f135700d1e358d70b3876b840d3fc1caaf.tar.xz
poezio-743ec0f135700d1e358d70b3876b840d3fc1caaf.zip
Fix a traceback when opening a conversation with a resource from the roster
Diffstat (limited to 'src')
-rw-r--r--src/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py
index 9609ec44..6636a5d6 100644
--- a/src/core.py
+++ b/src/core.py
@@ -447,10 +447,10 @@ class Core(object):
else:
self.focus_tab_named(roster_row.bare_jid)
if isinstance(roster_row, Resource):
- if not self.get_conversation_by_jid(roster_row.jid.full, False):
- self.open_conversation_window(roster_row.jid.full)
+ if not self.get_conversation_by_jid(roster_row.jid, False):
+ self.open_conversation_window(roster_row.jid)
else:
- self.focus_tab_named(roster_row.jid.full)
+ self.focus_tab_named(roster_row.jid)
self.refresh_window()
def get_conversation_messages(self):