From 7831ab6c29abfdea245cc7596247c64a65fa8bd4 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 13 Aug 2013 13:42:20 +0200 Subject: [PATCH] fix invite contact list. Fixes #7422 --- src/dialogs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 3ac5262c3..03a696e4d 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -4973,7 +4973,7 @@ class TransformChatToMUC: contact.jid != gajim.get_jid_from_account(self.account) and contact.jid not in gajim.interface.minimized_controls[account] and not contact.is_transport() and - not contact_transport) + contact_transport in ('jabber', None)) # set jabber id and pseudos for account in gajim.contacts.get_accounts(): @@ -4985,7 +4985,7 @@ class TransformChatToMUC: contact_transport = gajim.get_transport_name_from_jid(jid) # Add contact if it can be invited if invitable(contact, contact_transport) and \ - contact.show not in ('offline', 'error'): + contact.show not in ('offline', 'error'): img = gajim.interface.jabber_state_images['16'][contact.show] name = contact.name if name == '':