From e32755de363d0ffeebd799025f297aac409583a9 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Wed, 22 Aug 2007 12:10:06 +0000 Subject: [PATCH] Remove transports contacts from Invite Friends! window. See #2095. --- src/dialogs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index c1bb78d44..fd948d0f1 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -3261,9 +3261,9 @@ class TransformChatToMUC: for jid in gajim.contacts.get_jid_list(account): contact = \ gajim.contacts.get_contact_with_highest_priority(account, jid) - contact_transport = contact.is_transport() + contact_transport = gajim.get_transport_name_from_jid(jid) if contact.jid not in self.auto_jids and \ - not contact_transport and \ + not contact_transport and not contact.is_transport() and \ contact.jid not in gajim.interface.minimized_controls[account]: if contact.show not in ('offline', 'error'): img = gajim.interface.roster.jabber_state_images['16'][