Show correct icon in roster tooltip

This commit is contained in:
Philipp Hörist 2018-11-06 21:31:43 +01:00
parent f5a19c24a9
commit ea2f76f24e
1 changed files with 2 additions and 0 deletions

View File

@ -383,6 +383,8 @@ class RosterTooltip(Gtk.Window, StatusTable):
if self.num_resources > 1:
self._ui.status_label.show()
transport = app.get_transport_name_from_jid(self.prim_contact.jid)
if transport == 'jabber':
transport = None
contact_keys = sorted(contacts_dict.keys())
contact_keys.reverse()
for priority in contact_keys: