From f6025f37cc00a96a124840b688675c9411e6c4d1 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Tue, 5 Feb 2013 13:22:03 +0400 Subject: [PATCH] prevent tb. --- src/roster_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index e5ffea758..4fac4e39c 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2640,6 +2640,8 @@ class RosterWindow: contact = \ gajim.contacts.get_contact_with_highest_priority( account, jid) + if not contact: + continue gajim.interface.on_open_chat_window(None, contact, account) gajim.config.set_per('accounts', account,