From 761d3efc8c35d3133ff9887bf2c1627b240fa483 Mon Sep 17 00:00:00 2001 From: souliane Date: Thu, 2 Apr 2015 00:00:33 +0200 Subject: [PATCH] quick_frontend (constants): set a constant for default MUC service --- frontends/src/quick_frontend/constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontends/src/quick_frontend/constants.py b/frontends/src/quick_frontend/constants.py index 83a348eb..c506f276 100644 --- a/frontends/src/quick_frontend/constants.py +++ b/frontends/src/quick_frontend/constants.py @@ -43,7 +43,8 @@ class Const(constants.Const): # MUC DEFAULT_MUC_NODE = u'sat' - DEFAULT_MUC = DEFAULT_MUC_NODE if constants.Const.APP_VERSION.endswith(u'D') else u"%s@%s" % (DEFAULT_MUC_NODE, 'chat.jabberfr.org') + DEFAULT_MUC_SERVICE = u'chat.jabberfr.org' + DEFAULT_MUC = DEFAULT_MUC_NODE if constants.Const.APP_VERSION.endswith(u'D') else u"%s@%s" % (DEFAULT_MUC_NODE, DEFAULT_MUC_SERVICE) # Roster CONTACT_GROUPS = 'groups'