Fix invite menu for group. Fixes #7422

This commit is contained in:
Denis Fomin 2013-08-29 23:28:58 +04:00
parent c41b11a685
commit c610cadcf9
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ def build_invite_submenu(invite_menuitem, list_, ignore_rooms=[]):
if not account in connected_accounts:
connected_accounts.append(account)
transport = gajim.get_transport_name_from_jid(contact.jid)
if transport == 'jabber':
transport = None
if contacts_transport == -1:
contacts_transport = transport
elif contacts_transport != transport: