Fix a traceback when opening a conversation with a resource from the roster
This commit is contained in:
parent
bcd6976cd5
commit
743ec0f135
1 changed files with 3 additions and 3 deletions
|
@ -447,10 +447,10 @@ class Core(object):
|
||||||
else:
|
else:
|
||||||
self.focus_tab_named(roster_row.bare_jid)
|
self.focus_tab_named(roster_row.bare_jid)
|
||||||
if isinstance(roster_row, Resource):
|
if isinstance(roster_row, Resource):
|
||||||
if not self.get_conversation_by_jid(roster_row.jid.full, False):
|
if not self.get_conversation_by_jid(roster_row.jid, False):
|
||||||
self.open_conversation_window(roster_row.jid.full)
|
self.open_conversation_window(roster_row.jid)
|
||||||
else:
|
else:
|
||||||
self.focus_tab_named(roster_row.jid.full)
|
self.focus_tab_named(roster_row.jid)
|
||||||
self.refresh_window()
|
self.refresh_window()
|
||||||
|
|
||||||
def get_conversation_messages(self):
|
def get_conversation_messages(self):
|
||||||
|
|
Loading…
Reference in a new issue