Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
1399:5c3d1d970b94 | 1400:c8459b53bb81 |
---|---|
41 XMLUI_STATUS_VALIDATED = "validated" | 41 XMLUI_STATUS_VALIDATED = "validated" |
42 XMLUI_STATUS_CANCELLED = constants.Const.XMLUI_DATA_CANCELLED | 42 XMLUI_STATUS_CANCELLED = constants.Const.XMLUI_DATA_CANCELLED |
43 | 43 |
44 # MUC | 44 # MUC |
45 DEFAULT_MUC_NODE = u'sat' | 45 DEFAULT_MUC_NODE = u'sat' |
46 DEFAULT_MUC = DEFAULT_MUC_NODE if constants.Const.APP_VERSION.endswith(u'D') else u"%s@%s" % (DEFAULT_MUC_NODE, 'chat.jabberfr.org') | 46 DEFAULT_MUC_SERVICE = u'chat.jabberfr.org' |
47 DEFAULT_MUC = DEFAULT_MUC_NODE if constants.Const.APP_VERSION.endswith(u'D') else u"%s@%s" % (DEFAULT_MUC_NODE, DEFAULT_MUC_SERVICE) | |
47 | 48 |
48 # Roster | 49 # Roster |
49 CONTACT_GROUPS = 'groups' | 50 CONTACT_GROUPS = 'groups' |
50 CONTACT_RESOURCES = 'resources' | 51 CONTACT_RESOURCES = 'resources' |
51 CONTACT_MAIN_RESOURCE = 'main_resource' | 52 CONTACT_MAIN_RESOURCE = 'main_resource' |