changeset a3aa5ab01e46 in /home/hg/repos/gajim
branches: gtk3 details:http://hg.gajim.org/gajim?cmd=changeset;node=a3aa5ab01e46 description: enable block menu if server supports only XEP-0191
diffstat:
src/gui_menu_builder.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 08e24222f69b -r a3aa5ab01e46 src/gui_menu_builder.py --- a/src/gui_menu_builder.py Fri Apr 05 20:59:17 2013 +0200 +++ b/src/gui_menu_builder.py Fri Apr 05 20:59:47 2013 +0200 @@ -469,8 +469,8 @@ 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()