comparison frontends/src/quick_frontend/constants.py @ 1407:77f07ea90420

plugin XEP-0045, quick_frontend, primitivus: replace C.DEFAULT_MUC by bridge method getDefaultMUC (value is defined in plugin XEP-0045 and can be overriden with the config file)
author souliane <souliane@mailoo.org>
date Thu, 09 Apr 2015 11:27:13 +0200
parents c8459b53bb81
children 9fce331ba0fd
comparison
equal deleted inserted replaced
1406:d3e02159f26c 1407:77f07ea90420
39 SAT_FORM_PREFIX = "SAT_FORM_" 39 SAT_FORM_PREFIX = "SAT_FORM_"
40 SAT_PARAM_SEPARATOR = "_XMLUI_PARAM_" # used to have unique elements names 40 SAT_PARAM_SEPARATOR = "_XMLUI_PARAM_" # used to have unique elements names
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
45 DEFAULT_MUC_NODE = u'sat'
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)
48
49 # Roster 44 # Roster
50 CONTACT_GROUPS = 'groups' 45 CONTACT_GROUPS = 'groups'
51 CONTACT_RESOURCES = 'resources' 46 CONTACT_RESOURCES = 'resources'
52 CONTACT_MAIN_RESOURCE = 'main_resource' 47 CONTACT_MAIN_RESOURCE = 'main_resource'
53 CONTACT_SPECIAL = 'special' 48 CONTACT_SPECIAL = 'special'