diff frontends/src/quick_frontend/constants.py @ 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 069ad98b360d
children 77f07ea90420
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'