changeset 8b30d25dfd60 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=8b30d25dfd60 description: prevent a traceback when trying to redraw a contact that is no more in our roster. Fixes #5876
diffstat:
src/roster_window.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 9887186c3a21 -r 8b30d25dfd60 src/roster_window.py --- a/src/roster_window.py Wed Sep 08 08:58:29 2010 +0200 +++ b/src/roster_window.py Wed Sep 08 09:03:43 2010 +0200 @@ -1110,7 +1110,9 @@
contact_instances = gajim.contacts.get_contacts(account, jid) contact = gajim.contacts.get_highest_prio_contact_from_contacts( - contact_instances) + contact_instances) + if not contact: + return False
child_iters = self._get_contact_iter(jid, account, contact, self.model) if not child_iters: