Skip to content

Commit 6e18b52

Browse files
committed
Fixing bug on CONVERSEJS_ENABLED
1 parent 4b105ac commit 6e18b52

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

conversejs/utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88

99

1010
def get_conversejs_context(context, xmpp_login=False):
11+
12+
context['CONVERSEJS_ENABLED'] = conf.CONVERSEJS_ENABLED
13+
1114
if not conf.CONVERSEJS_ENABLED:
12-
return {'CONVERSEJS_ENABLED': conf.CONVERSEJS_ENABLED}
15+
return context
1316

1417
context.update(conf.get_conversejs_settings())
1518

0 commit comments

Comments
 (0)