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:
parent
6277e0e372
commit
b333b3f083
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue