enable block menu if server supports only XEP-0191
This commit is contained in:
parent
a38b779e9e
commit
1886298d30
|
@ -469,8 +469,8 @@ control=None, gc_contact=None, is_anonymous=True):
|
|||
execute_command_menuitem, send_custom_status_menuitem):
|
||||
widget.set_sensitive(False)
|
||||
|
||||
if gajim.connections[account] and gajim.connections[account].\
|
||||
privacy_rules_supported:
|
||||
if gajim.connections[account] and (gajim.connections[account].\
|
||||
privacy_rules_supported or gajim.connections[account].blocking_supported):
|
||||
if helpers.jid_is_blocked(account, jid):
|
||||
block_menuitem.set_no_show_all(True)
|
||||
block_menuitem.hide()
|
||||
|
|
Loading…
Reference in New Issue