Turn off messaging-related menus by default

i.e. unless config declares support for messaging.  this can cause errors
though, if menus try to link to non-existing view routes
This commit is contained in:
Lance Edgar 2019-01-07 16:18:45 -06:00
parent 6277e0e372
commit b333b3f083

View file

@ -122,7 +122,7 @@ def before_render(event):
# TODO: ugh, same deal here
renderer_globals['messaging_enabled'] = request.rattail_config.getbool(
'tailbone', 'messaging.enabled', default=True)
'tailbone', 'messaging.enabled', default=False)
def add_inbox_count(event):