From 743ec0f135700d1e358d70b3876b840d3fc1caaf Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 5 Nov 2012 14:11:53 +0100 Subject: Fix a traceback when opening a conversation with a resource from the roster --- src/core.py | 6 +++--- 1 file 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): -- cgit v1.2.3