From b333b3f083363dd60b281bc4bd496cfc35a50839 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 7 Jan 2019 16:18:45 -0600 Subject: [PATCH] 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 --- tailbone/subscribers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/subscribers.py b/tailbone/subscribers.py index 1a610ef2..d0404264 100644 --- a/tailbone/subscribers.py +++ b/tailbone/subscribers.py @@ -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):