Fix invite menu for group. Fixes #7422
This commit is contained in:
parent
b643e00f89
commit
1ef8b0dcf6
|
@ -80,6 +80,8 @@ def build_invite_submenu(invite_menuitem, list_, ignore_rooms=[]):
|
||||||
if not account in connected_accounts:
|
if not account in connected_accounts:
|
||||||
connected_accounts.append(account)
|
connected_accounts.append(account)
|
||||||
transport = gajim.get_transport_name_from_jid(contact.jid)
|
transport = gajim.get_transport_name_from_jid(contact.jid)
|
||||||
|
if transport == 'jabber':
|
||||||
|
transport = None
|
||||||
if contacts_transport == -1:
|
if contacts_transport == -1:
|
||||||
contacts_transport = transport
|
contacts_transport = transport
|
||||||
elif contacts_transport != transport:
|
elif contacts_transport != transport:
|
||||||
|
|
Loading…
Reference in New Issue