don't traceback when we try to open a remembered chat window from a contact not in roster

This commit is contained in:
Yann Leboulanger 2014-04-09 17:56:09 +02:00
parent 5f1c570744
commit 711a40e33c
1 changed files with 2 additions and 1 deletions

View File

@ -2655,7 +2655,8 @@ class RosterWindow:
gajim.contacts.get_contact_with_highest_priority(
account, jid)
if not contact:
continue
contact = self.add_to_not_in_the_roster(account,
jid)
gajim.interface.on_open_chat_window(None, contact,
account)
gajim.config.set_per('accounts', account,