changeset 1400:c8459b53bb81

quick_frontend (constants): set a constant for default MUC service
author souliane <souliane@mailoo.org>
date Thu, 02 Apr 2015 00:00:33 +0200
parents 5c3d1d970b94
children 265ff2bd8d67
files frontends/src/quick_frontend/constants.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/quick_frontend/constants.py	Wed Apr 01 23:59:56 2015 +0200
+++ b/frontends/src/quick_frontend/constants.py	Thu Apr 02 00:00:33 2015 +0200
@@ -43,7 +43,8 @@
 
     # 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'