Fix Send Custom Status menuitem (roster contact menu)
This commit is contained in:
parent
6a5b152216
commit
4347fd80b3
|
@ -367,7 +367,8 @@ control=None, gc_contact=None, is_anonymous=True):
|
||||||
if helpers.group_is_blocked(account, group):
|
if helpers.group_is_blocked(account, group):
|
||||||
blocked = True
|
blocked = True
|
||||||
break
|
break
|
||||||
if gajim.get_transport_name_from_jid(jid, use_config_setting=False):
|
transport = gajim.get_transport_name_from_jid(jid, use_config_setting=False)
|
||||||
|
if transport and transport != 'jabber':
|
||||||
# Transport contact, send custom status unavailable
|
# Transport contact, send custom status unavailable
|
||||||
send_custom_status_menuitem.set_sensitive(False)
|
send_custom_status_menuitem.set_sensitive(False)
|
||||||
elif blocked:
|
elif blocked:
|
||||||
|
|
Loading…
Reference in New Issue