Skip to content
Snippets Groups Projects
Commit 0e28919f authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

enable block menu if server supports only XEP-0191

parent 580e5487
No related branches found
No related tags found
No related merge requests found
......@@ -468,8 +468,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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment