prevent TB

This commit is contained in:
Yann Leboulanger 2005-12-30 11:33:39 +00:00
parent 2891c507e7
commit f69154f06a
1 changed files with 2 additions and 0 deletions

View File

@ -259,6 +259,8 @@ class RosterWindow:
contact_instances = gajim.contacts.get_contact(account, jid)
contact = gajim.contacts.get_highest_prio_contact_from_contacts(
contact_instances)
if not contact:
return
name = gtkgui_helpers.escape_for_pango_markup(contact.name)
if len(contact_instances) > 1: