prevent tb.

This commit is contained in:
Denis Fomin 2013-02-05 13:22:03 +04:00
parent fd47e42dd0
commit f6025f37cc
1 changed files with 2 additions and 0 deletions

View File

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