Philipp Hörist pushed to branch master at gajim / gajim
Commits: 1ea4ff26 by Philipp Hörist at 2018-03-06T23:12:33+01:00 Fix roster tooltip
Fixes #8924
Its not clear at this point why we dont find a contact is None, so log output is added
- - - - -
1 changed file:
- gajim/tooltips.py
Changes:
===================================== gajim/tooltips.py ===================================== --- a/gajim/tooltips.py +++ b/gajim/tooltips.py @@ -413,6 +413,10 @@ class RosterTooltip(Gtk.Window, StatusTable): # Username/Account/Groupchat self.prim_contact = app.contacts.get_highest_prio_contact_from_contacts( contacts) + if self.prim_contact is None: + log.error('No contact for Roster tooltip found') + log.error('contacts: %s, typ: %s, account: %s', contacts, typ, account) + return self.contact_jid = self.prim_contact.jid name = GLib.markup_escape_text(self.prim_contact.get_shown_name()) name_markup = '<b>{}</b>'.format(name)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/1ea4ff264cfe3bd34ef47cf83fb897bb08b...
--- View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/1ea4ff264cfe3bd34ef47cf83fb897bb08b... You're receiving this email because of your account on dev.gajim.org.